diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 08:44:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 08:44:17 +0000 |
commit | e5f5671d66295100d719d4712a03015268d65e02 (patch) | |
tree | 3fd5ffdf275047e85b4c5c1a6e77cd2ca6b7c2ac /app/models/enumeration.rb | |
parent | 427b47b4d72276b5c80d79cd5f8e16c2aa31da1e (diff) | |
download | redmine-e5f5671d66295100d719d4712a03015268d65e02.tar.gz redmine-e5f5671d66295100d719d4712a03015268d65e02.zip |
Added the ability to customize columns of a saved query.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@782 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/enumeration.rb')
-rw-r--r-- | app/models/enumeration.rb | 2 |
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 |