diff options
author | Marek Labos <keraml@gmail.com> | 2012-08-20 02:51:42 +0200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-08-20 13:04:38 +1200 |
commit | 50661cc8fad3258e42b72d559e3a4b62a58d8845 (patch) | |
tree | 3eb87d730594d976a6ec4084ef2f47442ee91f6e /app/controllers/refinery/blog | |
parent | 8c122900beaeb5e0af45ea12a7e7ea142b77401f (diff) | |
download | refinerycms-blog-50661cc8fad3258e42b72d559e3a4b62a58d8845.tar.gz refinerycms-blog-50661cc8fad3258e42b72d559e3a4b62a58d8845.tar.bz2 refinerycms-blog-50661cc8fad3258e42b72d559e3a4b62a58d8845.zip |
fix error when post is tagged and dont have current locale version
Diffstat (limited to 'app/controllers/refinery/blog')
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb index b04000b..6c9049d 100644 --- a/app/controllers/refinery/blog/posts_controller.rb +++ b/app/controllers/refinery/blog/posts_controller.rb @@ -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).page(params[:page]) + @posts = Post.tagged_with(@tag_name).with_globalize.page(params[:page]) end protected |