From fae40298d8a512b95877e4d2703233c9132fcefb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 05:24:46 +0000 Subject: [PATCH] code layout clean up app/helpers/members_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18986 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/members_helper.rb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.39.5