aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-12-17 17:57:26 +1300
committerPhilip Arndt <parndt@gmail.com>2011-12-17 17:57:26 +1300
commit547c8bcff27291945d65ed0504a3ea142334db1c (patch)
treeb49c06417ca0a9e9c31811836e512f916652a19a
parentde5c02994c58079b3fd723616d5751f5a5a97748 (diff)
downloadrefinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.tar.gz
refinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.tar.bz2
refinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.zip
Refinery::Page.default_parts is now Refinery::Pages.config.default_parts
-rw-r--r--app/views/refinery/blog/posts/index.html.erb6
1 files 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? %>
<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" %>