##// END OF EJS Templates
Fixed: URLs broken in wiki notifications (#6838)....
Jean-Philippe Lang -
r4259:338e407a9119
parent child
Show More
@@ -180,7 +180,7 class Mailer < ActionMailer::Base
180 180 cc(wiki_content.page.wiki.watcher_recipients - recipients)
181 181 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :id => wiki_content.page.pretty_title)}"
182 182 body :wiki_content => wiki_content,
183 :wiki_content_url => url_for(:controller => 'wiki', :action => 'index', :id => wiki_content.project, :id => wiki_content.page.title)
183 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title)
184 184 render_multipart('wiki_content_added', body)
185 185 end
186 186
@@ -197,8 +197,8 class Mailer < ActionMailer::Base
197 197 cc(wiki_content.page.wiki.watcher_recipients + wiki_content.page.watcher_recipients - recipients)
198 198 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_updated, :id => wiki_content.page.pretty_title)}"
199 199 body :wiki_content => wiki_content,
200 :wiki_content_url => url_for(:controller => 'wiki', :action => 'index', :id => wiki_content.project, :id => wiki_content.page.title),
201 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version)
200 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title),
201 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :project_id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version)
202 202 render_multipart('wiki_content_updated', body)
203 203 end
204 204
General Comments 0
You need to be logged in to leave comments. Login now