diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-10 17:58:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-10 17:58:07 +0000 |
commit | 6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5 (patch) | |
tree | ad4a6a8cbc3ec2dadf61886a67c19ffc66ec6710 /app/views/mailer | |
parent | f58db70bdecdbfd0a0d81c0c452d58b88391f9f1 (diff) | |
download | redmine-6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5.tar.gz redmine-6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5.zip |
Merged Rails 2.0 compatibility changes.
Compatibility with Rails 1.2 is preserved.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@975 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r-- | app/views/mailer/issue_add.text.html.rhtml | 2 | ||||
-rw-r--r-- | app/views/mailer/issue_add.text.plain.rhtml | 2 | ||||
-rw-r--r-- | app/views/mailer/issue_edit.text.html.rhtml | 2 | ||||
-rw-r--r-- | app/views/mailer/issue_edit.text.plain.rhtml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/mailer/issue_add.text.html.rhtml b/app/views/mailer/issue_add.text.html.rhtml index adcb4c9fe..6d20c333f 100644 --- a/app/views/mailer/issue_add.text.html.rhtml +++ b/app/views/mailer/issue_add.text.html.rhtml @@ -1,3 +1,3 @@ <%= l(:text_issue_added, "##{@issue.id}") %> <hr /> -<%= render :file => "_issue_text_html", :use_full_path => true, :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %> diff --git a/app/views/mailer/issue_add.text.plain.rhtml b/app/views/mailer/issue_add.text.plain.rhtml index 797fb11b6..38c17e777 100644 --- a/app/views/mailer/issue_add.text.plain.rhtml +++ b/app/views/mailer/issue_add.text.plain.rhtml @@ -1,3 +1,3 @@ <%= l(:text_issue_added, "##{@issue.id}") %> ---------------------------------------- -<%= render :file => "_issue_text_plain", :use_full_path => true, :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %> diff --git a/app/views/mailer/issue_edit.text.html.rhtml b/app/views/mailer/issue_edit.text.html.rhtml index 40d34968e..9af8592b4 100644 --- a/app/views/mailer/issue_edit.text.html.rhtml +++ b/app/views/mailer/issue_edit.text.html.rhtml @@ -7,4 +7,4 @@ </ul> <%= textilizable(@journal.notes) %> <hr /> -<%= render :file => "_issue_text_html", :use_full_path => true, :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %> diff --git a/app/views/mailer/issue_edit.text.plain.rhtml b/app/views/mailer/issue_edit.text.plain.rhtml index 32019eaea..04b1bc54a 100644 --- a/app/views/mailer/issue_edit.text.plain.rhtml +++ b/app/views/mailer/issue_edit.text.plain.rhtml @@ -5,4 +5,4 @@ <% end %> <%= @journal.notes if @journal.notes? %> ---------------------------------------- -<%= render :file => "_issue_text_plain", :use_full_path => true, :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %> |