diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-24 14:45:13 -0800 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-24 14:45:13 -0800 |
commit | ea2f177b0da4a86ca7e9959ae4eb16f99bea6ebf (patch) | |
tree | 1eac9bd4a531de820e9ecd73cc63f5d6e050f398 /app | |
parent | ad0b7f6ac8ea1c86db8bc00792fc5a1f2167ad5d (diff) | |
parent | 3abf537eaaff430cfb41fa51a8a377ce4b8ac924 (diff) | |
download | refinerycms-blog-ea2f177b0da4a86ca7e9959ae4eb16f99bea6ebf.tar.gz refinerycms-blog-ea2f177b0da4a86ca7e9959ae4eb16f99bea6ebf.tar.bz2 refinerycms-blog-ea2f177b0da4a86ca7e9959ae4eb16f99bea6ebf.zip |
Merge pull request #181 from enmasse-entertainment/fix_comment_posting
Fix comment posting
Diffstat (limited to 'app')
-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 |