From 88b5831a0d50c6c6849f9f20e21ce7aba50f9280 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 09:04:26 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in app/helpers/application_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19190 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 952c2e58a..02dcf22fc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -343,8 +343,8 @@ module ApplicationHelper end def format_activity_description(text) - h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...') - ).gsub(/[\r\n]+/, "
").html_safe + h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')). + gsub(/[\r\n]+/, "
").html_safe end def format_version_name(version) @@ -524,8 +524,7 @@ module ApplicationHelper content_tag('div', render_projects_for_jump_box(projects, @project), :class => 'drdn-items projects selection') + content_tag('div', all, :class => 'drdn-items all-projects selection'), - :class => 'drdn-content' - ) + :class => 'drdn-content') content_tag('div', trigger + content, :id => "project-jump", :class => "drdn") end -- 2.39.5