diff options
author | Philip Arndt <parndt@gmail.com> | 2011-12-17 17:57:26 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2011-12-17 17:57:26 +1300 |
commit | 547c8bcff27291945d65ed0504a3ea142334db1c (patch) | |
tree | b49c06417ca0a9e9c31811836e512f916652a19a /app | |
parent | de5c02994c58079b3fd723616d5751f5a5a97748 (diff) | |
download | refinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.tar.gz refinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.tar.bz2 refinerycms-blog-547c8bcff27291945d65ed0504a3ea142334db1c.zip |
Refinery::Page.default_parts is now Refinery::Pages.config.default_parts
Diffstat (limited to 'app')
-rw-r--r-- | app/views/refinery/blog/posts/index.html.erb | 6 |
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" %> |