diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-01-24 14:42:54 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-01-24 14:42:54 -0800 |
commit | 3abf537eaaff430cfb41fa51a8a377ce4b8ac924 (patch) | |
tree | a856ac15a926f67eacd774066c63fc2b520391c0 /app/controllers | |
parent | b1e4fd00943a160f3eb6ce242463c0cc07a406fc (diff) | |
download | refinerycms-blog-3abf537eaaff430cfb41fa51a8a377ce4b8ac924.tar.gz refinerycms-blog-3abf537eaaff430cfb41fa51a8a377ce4b8ac924.tar.bz2 refinerycms-blog-3abf537eaaff430cfb41fa51a8a377ce4b8ac924.zip |
Fix comment posting.
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 |