diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/refinery/blog/posts_controller.rb | 2 |
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 d680150..417cf29 100644 --- a/app/controllers/refinery/blog/posts_controller.rb +++ b/app/controllers/refinery/blog/posts_controller.rb @@ -31,7 +31,7 @@ module Refinery end def comment - if (@comment = @post.comments.create(params[comment])).valid? + if (@comment = @post.comments.create(params[:comment])).valid? if Comment::Moderation.enabled? or @comment.ham? begin CommentMailer.notification(@comment, request).deliver |