From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 05:24:46 +0000 (+0000) Subject: code layout clean up app/helpers/members_helper.rb X-Git-Tag: 4.1.0~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fae40298d8a512b95877e4d2703233c9132fcefb;p=redmine.git code layout clean up app/helpers/members_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18986 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index eef03218c..9fa2ec370 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -29,10 +29,18 @@ module MembersHelper :class => 'objects-selection' ) - links = pagination_links_full(principal_pages, principal_count, :per_page_links => false) {|text, parameters, options| - link_to text, autocomplete_project_memberships_path(project, parameters.merge(:q => params[:q], :format => 'js')), :remote => true - } - + links = + pagination_links_full(principal_pages, + principal_count, + :per_page_links => false) {|text, parameters, options| + link_to( + text, + autocomplete_project_memberships_path( + project, + parameters.merge(:q => params[:q], :format => 'js') + ), + :remote => true) + } s + content_tag('span', links, :class => 'pagination') end