We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37163d2 commit 46a564bCopy full SHA for 46a564b
app/views/better_together/pages/_page.html.erb
@@ -9,7 +9,7 @@
9
<% end %>
10
11
<% else %>
12
- <% if page.primary_image&.media&.attached? %>
+ <% if page.primary_image&.attached? %>
13
<%= image_tag rails_storage_proxy_url(page.primary_image), class: "card-img-top", alt: "#{page.title}" %>
14
15
<%= card_image_tag(page) %>
0 commit comments