aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/categories
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-17 16:56:03 +1300
committerPhilip Arndt <parndt@gmail.com>2012-01-17 16:56:24 +1300
commitb1e4fd00943a160f3eb6ce242463c0cc07a406fc (patch)
tree07fb750aa580b63d39c23589997956bf3a03594d /app/views/refinery/blog/categories
parentb3a25c1b686d205fc6b8b409a8f90059ae6b934d (diff)
downloadrefinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.gz
refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.bz2
refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.zip
Fixed namespacing for Refinery conventions.
Diffstat (limited to 'app/views/refinery/blog/categories')
-rw-r--r--app/views/refinery/blog/categories/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb
index 00d9596..aa4abaf 100644
--- a/app/views/refinery/blog/categories/show.html.erb
+++ b/app/views/refinery/blog/categories/show.html.erb
@@ -1,10 +1,10 @@
-<% content_for :body_content_title, @blog_category.title %>
+<% content_for :body_content_title, @category.title %>
<% content_for :body_content_left do %>
- <% 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>