Use object parameter to avoid nil in condition later on

pull/3416/head
Alexander Bach 9 years ago
parent 4ba2bcb408
commit b2df83828c
  1. 2
      app/views/user_mailer/work_package_updated.html.erb

@ -32,6 +32,6 @@ See doc/COPYRIGHT.rdoc for more details.
<li><%= @journal.render_detail(detail, :only_path => false) %></li>
<% end %>
</ul>
<%= format_text(@journal.notes, :only_path => false) %>
<%= format_text(@journal.notes, only_path: false, object: @issue, project: @issue.project) %>
<hr />
<%= render :partial => 'issue_details', :locals => { :issue => @issue } %>

Loading…
Cancel
Save