aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-04-10 23:02:41 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-04-10 23:02:41 +0300
commit14cd410324e062a6d4f6ef13d95e9ce14a8ddc75 (patch)
tree761f8d98b8edec186826585dfac8b3c0b7349247 /app/views/refinery/blog/posts
parent3627b8f86582d5da14b21f5ac93c807ef3d1594e (diff)
downloadrefinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.tar.gz
refinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.tar.bz2
refinerycms-blog-14cd410324e062a6d4f6ef13d95e9ce14a8ddc75.zip
Fix deprecation warnings.
Diffstat (limited to 'app/views/refinery/blog/posts')
-rw-r--r--app/views/refinery/blog/posts/archive.html.erb2
-rw-r--r--app/views/refinery/blog/posts/index.html.erb4
-rw-r--r--app/views/refinery/blog/posts/show.html.erb2
-rw-r--r--app/views/refinery/blog/posts/tagged.html.erb2
4 files changed, 5 insertions, 5 deletions
diff --git a/app/views/refinery/blog/posts/archive.html.erb b/app/views/refinery/blog/posts/archive.html.erb
index bda6c45..1c3342c 100644
--- a/app/views/refinery/blog/posts/archive.html.erb
+++ b/app/views/refinery/blog/posts/archive.html.erb
@@ -1,6 +1,6 @@
<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
<% if @posts.any? %>
<section id="blog_posts">
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 2e8837c..ec19d26 100644
--- a/app/views/refinery/blog/posts/index.html.erb
+++ b/app/views/refinery/blog/posts/index.html.erb
@@ -1,4 +1,4 @@
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
@@ -11,7 +11,7 @@
<% end %>
<% end %>
-<% content_for :body_content_right_prepend do -%>
+<% content_for :side_body_prepend do -%>
<%= raw @page.content_for(Refinery::Pages.default_parts.second.to_sym) %>
<% end if Refinery::Pages.default_parts.many? -%>
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
diff --git a/app/views/refinery/blog/posts/show.html.erb b/app/views/refinery/blog/posts/show.html.erb
index 4252cc1..95c2241 100644
--- a/app/views/refinery/blog/posts/show.html.erb
+++ b/app/views/refinery/blog/posts/show.html.erb
@@ -1,4 +1,4 @@
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<div id="show_blog_post">
<%= render 'post' %>
</div>
diff --git a/app/views/refinery/blog/posts/tagged.html.erb b/app/views/refinery/blog/posts/tagged.html.erb
index 3a3ee75..80547ee 100644
--- a/app/views/refinery/blog/posts/tagged.html.erb
+++ b/app/views/refinery/blog/posts/tagged.html.erb
@@ -2,7 +2,7 @@
<% content_for :body_content_title, "#{t('.posts_tagged')} &#8220;#{@tag_name.titleize}&#8221;".html_safe -%>
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<% if @posts.any? %>
<section id="blog_posts">
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>