diff options
author | djones <dgjones@gmail.com> | 2010-09-07 14:28:58 +1200 |
---|---|---|
committer | djones <dgjones@gmail.com> | 2010-09-07 14:28:58 +1200 |
commit | ad62a155f1a2246bc054516bf0629c8337f30f9e (patch) | |
tree | 91f21fd5b71de4a33be896ad4d7c17395f710dbb /app/controllers/blog/posts_controller.rb | |
parent | 0c9b906056f939ebbc43c84ef8e8683f303cf81a (diff) | |
download | refinerycms-blog-ad62a155f1a2246bc054516bf0629c8337f30f9e.tar.gz refinerycms-blog-ad62a155f1a2246bc054516bf0629c8337f30f9e.tar.bz2 refinerycms-blog-ad62a155f1a2246bc054516bf0629c8337f30f9e.zip |
better gitignore, posts controller now uses translations that exist
Diffstat (limited to 'app/controllers/blog/posts_controller.rb')
-rw-r--r-- | app/controllers/blog/posts_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/blog/posts_controller.rb b/app/controllers/blog/posts_controller.rb index 8a10604..abb870d 100644 --- a/app/controllers/blog/posts_controller.rb +++ b/app/controllers/blog/posts_controller.rb @@ -14,10 +14,10 @@ class Blog::PostsController < BlogController def comment if (@blog_comment = @blog_post.comments.create(params[:blog_comment])).valid? if BlogComment::Moderation.enabled? - flash[:notice] = t('blog_posts.show.comments.thank_you_moderated') + flash[:notice] = t('blog.posts.comments.thank_you_moderated') redirect_to blog_post_url(params[:id]) else - flash[:notice] = t('blog_posts.show.comments.thank_you') + flash[:notice] = t('blog.posts.comments.thank_you') redirect_to blog_post_url(params[:id], :anchor => "comment-#{@blog_comment.to_param}") end |