From 318898917da4004cffd9d89ec1a2b735553a34c4 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 3 Jul 2014 21:00:57 +0000 Subject: [PATCH] forum: allow mass-assignment on :allows_members_to_create_topics --- app/models/forum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/forum.rb b/app/models/forum.rb index a3d10fd..f6a7eb1 100644 --- a/app/models/forum.rb +++ b/app/models/forum.rb @@ -3,7 +3,7 @@ class Forum < Folder acts_as_having_posts :order => 'updated_at DESC' include PostsLimit - attr_accessible :has_terms_of_use, :terms_of_use + attr_accessible :has_terms_of_use, :terms_of_use, :allows_members_to_create_topics settings_items :terms_of_use, :type => :string, :default => "" settings_items :has_terms_of_use, :type => :boolean, :default => false -- libgit2 0.21.2