Skip to content

Commit 2ca37ac

Browse files
committed
preload block background images and translations
1 parent adbf494 commit 2ca37ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/better_together/pages/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<% end %>
2323

2424
<% content_for :page_content do %>
25-
<%= render @page.blocks if @page.blocks.any? %>
25+
<%= render @page.blocks.with_attached_background_image_file.with_translations if @page.blocks.any? %>
2626
<% end %>
2727

2828
<%= render layout: @layout do %>

0 commit comments

Comments
 (0)