diff options
Diffstat (limited to 'app/views/refinery/blog/posts/index.html.erb')
-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 f5f12b8..36c007b 100644 --- a/app/views/refinery/blog/posts/index.html.erb +++ b/app/views/refinery/blog/posts/index.html.erb @@ -1,10 +1,10 @@ <% content_for :body_content_left do %> <%= raw @page.content_for(::Refinery::Pages.config.default_parts.first.to_sym) if ::Refinery::Pages.config.default_parts.any? %> - <% if @blog_posts.any? %> + <% if @posts.any? %> <section id="blog_posts"> - <%= render :partial => "/refinery/blog/shared/post", :collection => @blog_posts %> - <%= will_paginate @blog_posts %> + <%= render :partial => "/refinery/blog/shared/post", :collection => @posts %> + <%= will_paginate @posts %> </section> <% else %> <p><%= t('.no_blog_articles_yet') %></p> |