Refinery::Page.default_parts is now Refinery::Pages.config.default_parts
This commit is contained in:
parent
de5c02994c
commit
547c8bcff2
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<% content_for :body_content_left do %>
|
||||
<%= raw @page.content_for(::Refinery::Page.default_parts.first.to_sym) if ::Refinery::Page.default_parts.any? %>
|
||||
<%= raw @page.content_for(::Refinery::Pages.config.default_parts.first.to_sym) if ::Refinery::Pages.config.default_parts.any? %>
|
||||
|
||||
<% if @blog_posts.any? %>
|
||||
<section id="blog_posts">
|
||||
|
@ -12,8 +12,8 @@
|
|||
<% end %>
|
||||
|
||||
<% content_for :body_content_right_prepend do -%>
|
||||
<%= raw @page.content_for(::Refinery::Page.default_parts.second.to_sym) %>
|
||||
<% end if ::Refinery::Page.default_parts.many? -%>
|
||||
<%= raw @page.content_for(::Refinery::Pages.config.default_parts.second.to_sym) %>
|
||||
<% end if ::Refinery::Pages.config.default_parts.many? -%>
|
||||
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
|
||||
|
||||
<%= render :partial => "/refinery/content_page" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue