]> git.openstreetmap.org Git - rails.git/blobdiff - lib/classic_pagination/pagination_helper.rb
Adds rail
[rails.git] / lib / classic_pagination / pagination_helper.rb
index da1bcbec6f05218a78b88a4c7eeb8143089af60d..238b8836e919a834bbe1daca3e2108174aacd96f 100644 (file)
@@ -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 = ""