From 547c8bcff27291945d65ed0504a3ea142334db1c Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Sat, 17 Dec 2011 17:57:26 +1300 Subject: Refinery::Page.default_parts is now Refinery::Pages.config.default_parts --- app/views/refinery/blog/posts/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb index a83d94f..f5f12b8 100644 --- a/app/views/refinery/blog/posts/index.html.erb +++ b/app/views/refinery/blog/posts/index.html.erb @@ -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? %>
@@ -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" %> -- cgit v1.2.3