aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/blog/posts_controller.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-07-01 09:12:27 +1200
committerPhilip Arndt <parndt@gmail.com>2011-07-01 09:12:27 +1200
commit47a71b309f4fb364449167ddc6ed978b6969e047 (patch)
tree842ef03d0fbec90a14666cdeaf6285d54d6feed0 /app/controllers/blog/posts_controller.rb
parent46021c66f476747a21ee62bf7acbcd9cb169bd25 (diff)
downloadrefinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.gz
refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.bz2
refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.zip
Making use of translation scopes.
Diffstat (limited to 'app/controllers/blog/posts_controller.rb')
-rw-r--r--app/controllers/blog/posts_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/blog/posts_controller.rb b/app/controllers/blog/posts_controller.rb
index 4ea2e73..fd1cd1b 100644
--- a/app/controllers/blog/posts_controller.rb
+++ b/app/controllers/blog/posts_controller.rb
@@ -33,10 +33,10 @@ class Blog::PostsController < BlogController
end
if BlogComment::Moderation.enabled?
- flash[:notice] = t('blog.posts.comments.thank_you_moderated')
+ flash[:notice] = t('thank_you_moderated', :scope => 'blog.posts.comments')
redirect_to blog_post_url(params[:id])
else
- flash[:notice] = t('blog.posts.comments.thank_you')
+ flash[:notice] = t('thank_you', :scope => 'blog.posts.comments')
redirect_to blog_post_url(params[:id],
:anchor => "comment-#{@blog_comment.to_param}")
end