From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 16:04:32 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#show_detail X-Git-Tag: 4.1.0~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5cdf94f29f66f6938ee7e98fbe2cd07962486ba3;p=redmine.git cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#show_detail git-svn-id: http://svn.redmine.org/redmine/trunk@19024 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 39fafce34..4da70841b 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -531,9 +531,12 @@ module IssuesHelper elsif show_diff s = l(:text_journal_changed_no_detail, :label => label) unless no_html - diff_link = link_to 'diff', - diff_journal_url(detail.journal_id, :detail_id => detail.id, :only_path => options[:only_path]), - :title => l(:label_view_diff) + diff_link = + link_to( + 'diff', + diff_journal_url(detail.journal_id, :detail_id => detail.id, + :only_path => options[:only_path]), + :title => l(:label_view_diff)) s << " (#{diff_link})" end s.html_safe