summaryrefslogtreecommitdiffstats
path: root/app/models/enumeration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/enumeration.rb')
-rw-r--r--app/models/enumeration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb
index c4f0f98cb..46d350a21 100644
--- a/app/models/enumeration.rb
+++ b/app/models/enumeration.rb
@@ -37,6 +37,8 @@ class Enumeration < ActiveRecord::Base
OPTIONS[self.opt]
end
+ def to_s; name end
+
private
def check_integrity
case self.opt