Commit 821931691a6429b235db314bad4ec35309db1597

Authored by Leandro Santos
1 parent 54d9eb37

Adding acts_as_having_settings for comment

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/models/comment.rb
... ... @@ -33,6 +33,8 @@ class Comment < ActiveRecord::Base
33 33 end
34 34 end
35 35  
  36 + acts_as_having_settings
  37 +
36 38 xss_terminate :only => [ :body, :title, :name ], :on => 'validation'
37 39  
38 40 def comment_root
... ...