]> source.dussan.org Git - redmine.git/commitdiff
use "do end" instead of {} at MembersHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 7 Nov 2020 12:30:15 +0000 (12:30 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 7 Nov 2020 12:30:15 +0000 (12:30 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20281 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/members_helper.rb

index 623f2c6688907d21d66a3a6f1c8897257d77d4c2..21f11560142c520eac3c4cf2f15b8c28ff9f427e 100644 (file)
@@ -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