Mailer#url_for not called in views with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9023 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-02-27 20:43:25 +00:00
parent 7056649a4b
commit e6b9ddad18
10 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -12,4 +12,4 @@
<% end %>
</ul>
<%= textilizable(issue, :description) %>
<%= textilizable(issue, :description, :only_path => false) %>
+1 -1
View File
@@ -1,3 +1,3 @@
<%= link_to(h(@document.title), @document_url) %> (<%=h @document.category.name %>)<br />
<br />
<%= textilizable(@document, :description) %>
<%= textilizable(@document, :description, :only_path => false) %>
+2 -2
View File
@@ -1,11 +1,11 @@
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
<ul>
<% details_to_strings(@journal.details).each do |string| %>
<% details_to_strings(@journal.details, false, :only_path => false).each do |string| %>
<li><%= string %></li>
<% end %>
</ul>
<%= textilizable(@journal, :notes) %>
<%= textilizable(@journal, :notes, :only_path => false) %>
<hr />
<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
+1 -1
View File
@@ -1,4 +1,4 @@
<h1><%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to(h(@message.subject), @message_url) %></h1>
<em><%=h @message.author %></em>
<%= textilizable(@message, :content) %>
<%= textilizable(@message, :content, :only_path => false) %>
+1 -1
View File
@@ -1,4 +1,4 @@
<h1><%= link_to(h(@news.title), @news_url) %></h1>
<em><%=h @news.author.name %></em>
<%= textilizable(@news, :description) %>
<%= textilizable(@news, :description, :only_path => false) %>
+1 -1
View File
@@ -2,4 +2,4 @@
<p><%= l(:text_user_wrote, :value => h(@comment.author)) %></p>
<%= textilizable @comment, :comments %>
<%= textilizable @comment, :comments, :only_path => false %>
+1 -1
View File
@@ -2,7 +2,7 @@
<ul>
<% @issues.each do |issue| -%>
<li><%=h issue.project %> - <%=link_to(h("#{issue.tracker} ##{issue.id}"), :controller => 'issues', :action => 'show', :id => issue)%>: <%=h issue.subject %></li>
<li><%=h issue.project %> - <%=link_to(h("#{issue.tracker} ##{issue.id}"), :controller => 'issues', :action => 'show', :id => issue, :only_path => false)%>: <%=h issue.subject %></li>
<% end -%>
</ul>