Commit 318898917da4004cffd9d89ec1a2b735553a34c4

Authored by Rodrigo Souto
1 parent 1b990d18

forum: allow mass-assignment on :allows_members_to_create_topics

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/forum.rb
... ... @@ -3,7 +3,7 @@ class Forum < Folder
3 3 acts_as_having_posts :order => 'updated_at DESC'
4 4 include PostsLimit
5 5  
6   - attr_accessible :has_terms_of_use, :terms_of_use
  6 + attr_accessible :has_terms_of_use, :terms_of_use, :allows_members_to_create_topics
7 7  
8 8 settings_items :terms_of_use, :type => :string, :default => ""
9 9 settings_items :has_terms_of_use, :type => :boolean, :default => false
... ...