% unless current_page.last? %> <% uri = URI(url) %> <% uri.query = "page=#{Rack::Utils.parse_query(uri.query)['page']}" %>