From 821931691a6429b235db314bad4ec35309db1597 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Wed, 8 Apr 2015 22:10:57 -0300 Subject: [PATCH] Adding acts_as_having_settings for comment --- app/models/comment.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 51c7102..d22d978 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -33,6 +33,8 @@ class Comment < ActiveRecord::Base end end + acts_as_having_settings + xss_terminate :only => [ :body, :title, :name ], :on => 'validation' def comment_root -- libgit2 0.21.2