1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 12:19:38 +00:00

code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in app/helpers/issues_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18516 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-09-24 05:54:42 +00:00
parent bb5706e2f9
commit d0ca6ad31d
2 changed files with 1 additions and 2 deletions

View File

@ -477,7 +477,6 @@ Layout/SpaceInsidePercentLiteralDelimiters:
Layout/SpaceInsideStringInterpolation:
Exclude:
- 'app/helpers/application_helper.rb'
- 'app/helpers/issues_helper.rb'
- 'app/helpers/workflows_helper.rb'
- 'app/models/issue_query.rb'
- 'app/models/mail_handler.rb'

View File

@ -515,7 +515,7 @@ module IssuesHelper
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 })"
s << " (#{diff_link})"
end
s.html_safe
elsif detail.value.present?