diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/mailer/_issue.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/document_added.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/issue_edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/message_posted.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/news_added.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/news_comment_added.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/reminder.html.erb | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb index 3d851d442..c649e44c9 100644 --- a/app/views/mailer/_issue.html.erb +++ b/app/views/mailer/_issue.html.erb @@ -12,4 +12,4 @@ <% end %> </ul> -<%= textilizable(issue, :description, :only_path => false) %> +<%= textilizable(issue, :description) %> diff --git a/app/views/mailer/document_added.html.erb b/app/views/mailer/document_added.html.erb index 8606dd784..be18e400d 100644 --- a/app/views/mailer/document_added.html.erb +++ b/app/views/mailer/document_added.html.erb @@ -1,3 +1,3 @@ <%= link_to(h(@document.title), @document_url) %> (<%=h @document.category.name %>)<br /> <br /> -<%= textilizable(@document, :description, :only_path => false) %> +<%= textilizable(@document, :description) %> diff --git a/app/views/mailer/issue_edit.html.erb b/app/views/mailer/issue_edit.html.erb index 07288e379..da406f999 100644 --- a/app/views/mailer/issue_edit.html.erb +++ b/app/views/mailer/issue_edit.html.erb @@ -6,6 +6,6 @@ <% end %> </ul> -<%= textilizable(@journal, :notes, :only_path => false) %> +<%= textilizable(@journal, :notes) %> <hr /> <%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %> diff --git a/app/views/mailer/message_posted.html.erb b/app/views/mailer/message_posted.html.erb index f43a8cf0f..a8ccd2622 100644 --- a/app/views/mailer/message_posted.html.erb +++ b/app/views/mailer/message_posted.html.erb @@ -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, :only_path => false) %> +<%= textilizable(@message, :content) %> diff --git a/app/views/mailer/news_added.html.erb b/app/views/mailer/news_added.html.erb index 758ebccb8..9a024c09e 100644 --- a/app/views/mailer/news_added.html.erb +++ b/app/views/mailer/news_added.html.erb @@ -1,4 +1,4 @@ <h1><%= link_to(h(@news.title), @news_url) %></h1> <em><%=h @news.author.name %></em> -<%= textilizable(@news, :description, :only_path => false) %> +<%= textilizable(@news, :description) %> diff --git a/app/views/mailer/news_comment_added.html.erb b/app/views/mailer/news_comment_added.html.erb index ef2be0f65..b96de1489 100644 --- a/app/views/mailer/news_comment_added.html.erb +++ b/app/views/mailer/news_comment_added.html.erb @@ -2,4 +2,4 @@ <p><%= l(:text_user_wrote, :value => h(@comment.author)) %></p> -<%= textilizable @comment, :comments, :only_path => false %> +<%= textilizable @comment, :comments %> diff --git a/app/views/mailer/reminder.html.erb b/app/views/mailer/reminder.html.erb index f011da3e8..cfe8c977d 100644 --- a/app/views/mailer/reminder.html.erb +++ b/app/views/mailer/reminder.html.erb @@ -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, :only_path => false)%>: <%=h issue.subject %></li> + <li><%=h issue.project %> - <%=link_to(h("#{issue.tracker} ##{issue.id}"), :controller => 'issues', :action => 'show', :id => issue)%>: <%=h issue.subject %></li> <% end -%> </ul> |