diff options
Diffstat (limited to 'app/controllers/refinery/blog/posts_controller.rb')
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb index ed94a8d..b5caa33 100644 --- a/app/controllers/refinery/blog/posts_controller.rb +++ b/app/controllers/refinery/blog/posts_controller.rb @@ -10,7 +10,7 @@ module Refinery def index # Rss feeders are greedy. Let's give them every blog post instead of paginating. - (@posts = Post.live.includes(:comments, :categories).with_globalize) if request.format.rss? + (@posts = Post.live.includes(:comments, :categories)) if request.format.rss? respond_with (@posts) do |format| format.html format.rss { render :layout => false } @@ -71,7 +71,7 @@ module Refinery def tagged @tag = ActsAsTaggableOn::Tag.find(params[:tag_id]) @tag_name = @tag.name - @posts = Post.tagged_with(@tag_name).with_globalize.page(params[:page]) + @posts = Post.live.tagged_with(@tag_name).page(params[:page]) end protected |