Added custom fields in issue related mail notifications.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@822 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-10-10 19:43:54 +00:00
parent 5f10cc8673
commit 38f540a701
4 changed files with 20 additions and 6 deletions
+1
View File
@@ -18,6 +18,7 @@
class Mailer < ActionMailer::Base
helper ApplicationHelper
helper IssuesHelper
helper CustomFieldsHelper
def account_information(user, password)
set_language_if_valid user.language
+2
View File
@@ -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)