summaryrefslogtreecommitdiffstats
path: root/app/models/version.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-10 19:43:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-10 19:43:54 +0000
commit38f540a7019d194fb02ddcd6b4d8bcebef1423f9 (patch)
tree61250498ecd1ef3f3099ce66d6363c7f1a8d65b0 /app/models/version.rb
parent5f10cc867327cd2d2620f10b30ca9c5f2f3a8791 (diff)
downloadredmine-38f540a7019d194fb02ddcd6b4d8bcebef1423f9.tar.gz
redmine-38f540a7019d194fb02ddcd6b4d8bcebef1423f9.zip
Added custom fields in issue related mail notifications.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@822 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version.rb')
-rw-r--r--app/models/version.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index bc58e0de4..36da55098 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -59,6 +59,8 @@ class Version < ActiveRecord::Base
@wiki_page
end
+ def to_s; name end
+
# Versions are sorted by effective_date
# Those with no effective_date are at the end, sorted by name
def <=>(version)