From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 06:54:29 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in app/helpers/members_helper.rb X-Git-Tag: 4.1.0~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=93d117e7fb57c335a9aedb4daf562de348f30670;p=redmine.git 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 --- 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,