aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2012-01-24 14:42:54 -0800
committerPete Higgins <pete@peterhiggins.org>2012-01-24 14:42:54 -0800
commit3abf537eaaff430cfb41fa51a8a377ce4b8ac924 (patch)
treea856ac15a926f67eacd774066c63fc2b520391c0 /app/controllers
parentb1e4fd00943a160f3eb6ce242463c0cc07a406fc (diff)
downloadrefinerycms-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.rb2
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