]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#show_detail
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 16:04:32 +0000 (16:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 16:04:32 +0000 (16:04 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19024 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index 39fafce34a71e759d6beb0bfa80c83fa28e8b3e7..4da70841b78b833d33c5fc242368b73cfae61c02 100644 (file)
@@ -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