Commit bf667380038ac92f4e804fa6fe0ba4fc6720ad9a
1 parent
5d182131
Exists in
master
and in
29 other branches
Add attr_accessible to Alternative's selected_by_default attribute
(ActionItem3262)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/custom_forms/lib/custom_forms_plugin/alternative.rb
@@ -5,6 +5,6 @@ class CustomFormsPlugin::Alternative < ActiveRecord::Base | @@ -5,6 +5,6 @@ class CustomFormsPlugin::Alternative < ActiveRecord::Base | ||
5 | 5 | ||
6 | belongs_to :field, :class_name => 'CustomFormsPlugin::Field' | 6 | belongs_to :field, :class_name => 'CustomFormsPlugin::Field' |
7 | 7 | ||
8 | - attr_accessible :label, :field, :position | 8 | + attr_accessible :label, :field, :position, :selected_by_default |
9 | end | 9 | end |
10 | 10 |