aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2016-02-14 14:41:00 +1300
committerPhilip Arndt <git@p.arndt.io>2016-02-14 14:41:00 +1300
commit812bff92c069b5932ef49e1b2d6827c8286c1075 (patch)
tree3c8a87398a385c68d548fac5481ceff2a2a2c98e /app
parent5ee833618c3f365b50742df2b6ca4f591b52a467 (diff)
downloadrefinerycms-blog-812bff92c069b5932ef49e1b2d6827c8286c1075.tar.gz
refinerycms-blog-812bff92c069b5932ef49e1b2d6827c8286c1075.tar.bz2
refinerycms-blog-812bff92c069b5932ef49e1b2d6827c8286c1075.zip
Update page part format
Diffstat (limited to 'app')
-rw-r--r--app/views/refinery/blog/posts/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 772f2ec..3a386f9 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 do %>
- <%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
+ <%= raw @page.content_for(Refinery::Pages.default_parts.first[:slug].to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
<section id="blog_posts">
@@ -12,7 +12,7 @@
<% end %>
<% content_for :side_body_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/blog/shared/body_content_right' %>