Skip to content

Commit

Permalink
Update page part format
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Feb 14, 2016
1 parent 58c2fbc commit 2d5222d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/refinery/news/items/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :body do %>
<%=raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) unless params[:page] %>
<%=raw @page.content_for(Refinery::Pages.default_parts.first[:slug].to_sym) unless params[:page] %>
<% if @items.any? %>
<% @items.each do |item| %>
Expand All @@ -21,7 +21,7 @@
<% end -%>
<% content_for :body_content_right_prepend do -%>
<%= raw @page.content_for(::Refinery::Pages.default_parts.second.to_sym) %>
<%= raw @page.content_for(::Refinery::Pages.default_parts.second[:slug].to_sym) %>
<% end if ::Refinery::Pages.default_parts.many? -%>
<%= render '/refinery/news/shared/body_content_right' %>
Expand Down

0 comments on commit 2d5222d

Please sign in to comment.