Skip to content

Commit

Permalink
fixing rubocop violation
Browse files Browse the repository at this point in the history
  • Loading branch information
f3z0 committed Dec 4, 2020
1 parent 88d6c3d commit df9b7a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def prev_page_url

def next_page_url
return nil if collection.total_pages == 0 ||
collection.current_page >= collection.total_pages
collection.current_page >= collection.total_pages
url_for_page(collection.next_page)
end

Expand Down

0 comments on commit df9b7a8

Please sign in to comment.