summaryrefslogtreecommitdiffstats
path: root/app/models/mailer.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-02 21:00:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-02 21:00:42 +0000
commit040cfa4ad5df2701d7fa17df85f733d8d34348b1 (patch)
treeb2029f8b2517c5dd398247b615ef29a79c9daa1c /app/models/mailer.rb
parent77fc1132731d12bc78c1c8e331aa006d540a1b50 (diff)
downloadredmine-040cfa4ad5df2701d7fa17df85f733d8d34348b1.tar.gz
redmine-040cfa4ad5df2701d7fa17df85f733d8d34348b1.zip
Makes the link in an issue update notification point to the change (#9690).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r--app/models/mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index fddfef1df..6f68918a9 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -74,7 +74,7 @@ class Mailer < ActionMailer::Base
subject s
body :issue => issue,
:journal => journal,
- :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue)
+ :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue, :anchor => "change-#{journal.id}")
render_multipart('issue_edit', body)
end