summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/enumeration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb
index 826955cc8..d532c78be 100644
--- a/app/models/enumeration.rb
+++ b/app/models/enumeration.rb
@@ -98,7 +98,7 @@ class Enumeration < ActiveRecord::Base
#
# Note: subclasses is protected in ActiveRecord
def self.get_subclasses
- @@subclasses[Enumeration]
+ subclasses
end
# Does the +new+ Hash override the previous Enumeration?