[noosfero/noosfero][next] Adding acts_as_having_settings for comment

Leandro Nunes gitlab at gitlab.com
Wed Apr 8 22:17:40 BRT 2015


Leandro Nunes pushed to next at Noosfero / noosfero


Commits:
82193169 by Leandro Nunes dos Santos at 2015-04-08T22:10:57Z
Adding acts_as_having_settings for comment

- - - - -


1 changed file:

- app/models/comment.rb


Changes:

=====================================
app/models/comment.rb
=====================================
--- 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


View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/821931691a6429b235db314bad4ec35309db1597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150409/52a05655/attachment-0001.html>


More information about the Noosfero-dev mailing list