X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b072c2935f8f79e16b2b63cc5e01fc34326f7daa..c661bbf7dba69d265ebcd6431d0a4ab8c5d48430:/app/helpers/browse_helper.rb?ds=inline diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 4cd0384cb..0ea10e219 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -96,7 +96,7 @@ module BrowseHelper pagination_items(pages, {}).each do |body, page_or_class| linked = !(page_or_class.is_a? String) link = if linked - link_to body, url_for(page_param => page_or_class.number), :class => link_classes, :title => yield(page_or_class) + link_to body, url_for(page_param => page_or_class.number), :class => link_classes, **yield(page_or_class) else tag.span body, :class => link_classes end