From 5addd2846d6733cd0b6af02b0afa7f73146b9362 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 16:04:43 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells git-svn-id: http://svn.redmine.org/redmine/trunk@19025 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 4da70841b..be20c59d4 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -269,9 +269,11 @@ module IssuesHelper def cells(label, text, options={}) options[:class] = [options[:class] || "", 'attribute'].join(' ') - content_tag 'div', - content_tag('div', label + ":", :class => 'label') + content_tag('div', text, :class => 'value'), - options + content_tag( + 'div', + content_tag('div', label + ":", :class => 'label') + + content_tag('div', text, :class => 'value'), + options) end end -- 2.39.5