aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery
diff options
context:
space:
mode:
authorMarek Labos <keraml@gmail.com>2012-08-20 02:51:42 +0200
committerPhilip Arndt <parndt@gmail.com>2012-08-20 13:04:38 +1200
commit50661cc8fad3258e42b72d559e3a4b62a58d8845 (patch)
tree3eb87d730594d976a6ec4084ef2f47442ee91f6e /app/controllers/refinery
parent8c122900beaeb5e0af45ea12a7e7ea142b77401f (diff)
downloadrefinerycms-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')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb2
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