Skip to content

Commit

Permalink
fix error when post is tagged and dont have current locale version
Browse files Browse the repository at this point in the history
  • Loading branch information
keram authored and parndt committed Aug 20, 2012
1 parent 8c12290 commit 50661cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/refinery/blog/posts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def archive
def tagged
@tag = ActsAsTaggableOn::Tag.find(params[:tag_id])
@tag_name = @tag.name
@posts = Post.tagged_with(@tag_name).page(params[:page])
@posts = Post.tagged_with(@tag_name).with_globalize.page(params[:page])
end

protected
Expand Down

0 comments on commit 50661cc

Please sign in to comment.