X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..4e64291839d45a0c660fc84f11a6c4c811cf8f21:/lib/classic_pagination/pagination_helper.rb?ds=inline diff --git a/lib/classic_pagination/pagination_helper.rb b/lib/classic_pagination/pagination_helper.rb index da1bcbec6..238b8836e 100644 --- a/lib/classic_pagination/pagination_helper.rb +++ b/lib/classic_pagination/pagination_helper.rb @@ -99,7 +99,8 @@ module ActionView window_pages = current_page.window(options[:window_size]).pages return if window_pages.length <= 1 unless link_to_current_page - first, last = paginator.first, paginator.last + first = paginator.first + last = paginator.last html = ""