]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in app/helpers/members_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 06:54:29 +0000 (06:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 06:54:29 +0000 (06:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18992 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/members_helper.rb

index 9fa2ec37097085b512412cef5786ed2f5805bded..57f0411ea80e26798b4d45ed13c83383bd7c98cd 100644 (file)
@@ -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,