aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/categories_controller.rb
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-14 19:31:36 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-14 19:32:25 -0700
commit13cafc094712787bf0e5ad0b1dc0e4eb764920d9 (patch)
tree45fe84815cf7a86451a87b934a46154eeeb9d974 /app/controllers/refinery/blog/categories_controller.rb
parent87bc12a1e47779fcfa90d24a2eb22862560ca646 (diff)
downloadrefinerycms-blog-13cafc094712787bf0e5ad0b1dc0e4eb764920d9.tar.gz
refinerycms-blog-13cafc094712787bf0e5ad0b1dc0e4eb764920d9.tar.bz2
refinerycms-blog-13cafc094712787bf0e5ad0b1dc0e4eb764920d9.zip
Syntax fixes for Ruby 1.8.7
Diffstat (limited to 'app/controllers/refinery/blog/categories_controller.rb')
-rw-r--r--app/controllers/refinery/blog/categories_controller.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/refinery/blog/categories_controller.rb b/app/controllers/refinery/blog/categories_controller.rb
index a363b8c..57196c3 100644
--- a/app/controllers/refinery/blog/categories_controller.rb
+++ b/app/controllers/refinery/blog/categories_controller.rb
@@ -4,10 +4,7 @@ module Refinery
def show
@category = Refinery::BlogCategory.find(params[:id])
- @blog_posts = @category.posts
- .live
- .includes(:comments, :categories)
- .page(params[:page])
+ @blog_posts = @category.posts.live.includes(:comments, :categories).page(params[:page])
end
end