From 93d117e7fb57c335a9aedb4daf562de348f30670 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 06:54:29 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in app/helpers/members_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18992 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/members_helper.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index 9fa2ec370..57f0411ea 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -23,12 +23,13 @@ module MembersHelper principal_count = scope.count principal_pages = Redmine::Pagination::Paginator.new principal_count, limit, params['page'] principals = scope.offset(principal_pages.offset).limit(principal_pages.per_page).to_a - - s = content_tag('div', - content_tag('div', principals_check_box_tags('membership[user_ids][]', principals), :id => 'principals'), - :class => 'objects-selection' + s = content_tag( + 'div', + content_tag( + 'div', + principals_check_box_tags('membership[user_ids][]', principals), :id => 'principals'), + :class => 'objects-selection' ) - links = pagination_links_full(principal_pages, principal_count, -- 2.39.5