Skip to content

Commit

Permalink
Update projects_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Aug 19, 2024
1 parent f6b37be commit 8c723f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/tabs/projects_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ def add_project_banner(project)
def add_background_image(image)
return unless image

presenter = ImagePresenter.new(image, size: :large)
content_for(:background_image) do
image_tag(presenter.img_src, class: "image-title")
image_tag(image.large_url, class: "image-title")
end
end
end
Expand Down

0 comments on commit 8c723f5

Please sign in to comment.