Commit 0c8dd1ff8437944f2fbacdc9fd76e9c15afeb11c

Authored by AntonioTerceiro
1 parent 241766d6

ActionItem9: minor doc work



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@108 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/models/virtual_community.rb
... ... @@ -65,6 +65,8 @@ class VirtualCommunity < ActiveRecord::Base
65 65 self.settings['terms_of_use'] = value
66 66 end
67 67  
  68 + # returns <tt>true</tt> if this VirtualCommunity has terms of use to be
  69 + # accepted by users before registration.
68 70 def has_terms_of_use?
69 71 ! self.settings['terms_of_use'].nil?
70 72 end
... ...