aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/categories_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/refinery/blog/categories_controller.rb')
-rw-r--r--app/controllers/refinery/blog/categories_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/refinery/blog/categories_controller.rb b/app/controllers/refinery/blog/categories_controller.rb
index 60c8346..467726e 100644
--- a/app/controllers/refinery/blog/categories_controller.rb
+++ b/app/controllers/refinery/blog/categories_controller.rb
@@ -1,10 +1,10 @@
module Refinery
module Blog
- class CategoriesController < BaseController
+ class CategoriesController < BlogController
def show
- @blog_category = Refinery::Blog::Category.find(params[:id])
- @blog_posts = @blog_category.posts.live.includes(:comments, :categories).page(params[:page])
+ @category = Refinery::Blog::Category.find(params[:id])
+ @posts = @category.posts.live.includes(:comments, :categories).page(params[:page])
end
end