summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r--app/models/custom_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index f5f15a4a1..511299523 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -24,7 +24,7 @@ class CustomField < ActiveRecord::Base
:dependent => :delete_all
has_many :custom_values, :dependent => :delete_all
has_and_belongs_to_many :roles, :join_table => "#{table_name_prefix}custom_fields_roles#{table_name_suffix}", :foreign_key => "custom_field_id"
- acts_as_list :scope => 'type = \'#{self.class}\''
+ acts_as_positioned
serialize :possible_values
store :format_store