aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/posts_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/refinery/blog/posts_controller.rb')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb
index aa7d45e..3041439 100644
--- a/app/controllers/refinery/blog/posts_controller.rb
+++ b/app/controllers/refinery/blog/posts_controller.rb
@@ -3,7 +3,6 @@ module Refinery
class PostsController < BlogController
caches_page :index
- # cache_sweeper Refinery::BlogSweeper, :only => [:comment]
before_filter :find_all_blog_posts, :except => [:archive]
before_filter :find_blog_post, :only => [:show, :comment, :update_nav]
@@ -40,10 +39,10 @@ module Refinery
end
if Refinery::BlogComment::Moderation.enabled?
- flash[:notice] = t('thank_you_moderated', :scope => 'blog.posts.comments')
+ flash[:notice] = t('thank_you_moderated', :scope => 'refinery.blog.posts.comments')
redirect_to main_app.blog_post_url(params[:id])
else
- flash[:notice] = t('thank_you', :scope => 'blog.posts.comments')
+ flash[:notice] = t('thank_you', :scope => 'refinery.blog.posts.comments')
redirect_to main_app.blog_post_url(params[:id],
:anchor => "comment-#{@blog_comment.to_param}")
end