aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/blog_comment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/blog_comment.rb b/app/models/blog_comment.rb
index cab2227..37e11ac 100644
--- a/app/models/blog_comment.rb
+++ b/app/models/blog_comment.rb
@@ -15,7 +15,7 @@ class BlogComment < ActiveRecord::Base
end
def toggle
- RefinerySetting[:comment_moderation] = !self.enabled?
+ RefinerySetting[:comment_moderation] = {:value => !self.enabled?, :scoping => :blog}
end
end
end
@@ -29,7 +29,7 @@ class BlogComment < ActiveRecord::Base
end
def recipients=(emails)
- RefinerySetting[:comment_notification_recipients] = emails
+ RefinerySetting[:comment_notification_recipients] = {:value => emails, :scoping => :blog}
end
end
end