From 4e1716b35f2c38e81a8b746915bd01ca03d62ca2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 7 Nov 2020 12:30:15 +0000 Subject: [PATCH] use "do end" instead of {} at MembersHelper git-svn-id: http://svn.redmine.org/redmine/trunk@20281 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/members_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index 623f2c668..21f115601 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -36,7 +36,7 @@ module MembersHelper links = pagination_links_full(principal_pages, principal_count, - :per_page_links => false) {|text, parameters, options| + :per_page_links => false) do |text, parameters, options| link_to( text, autocomplete_project_memberships_path( @@ -44,7 +44,7 @@ module MembersHelper parameters.merge(:q => params[:q], :format => 'js') ), :remote => true) - } + end s + content_tag('span', links, :class => 'pagination') end -- 2.39.5