aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/blog/posts_controller.rb
diff options
context:
space:
mode:
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