mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Fix Travis lint offenses
This commit is contained in:
@@ -57,7 +57,7 @@ module ActiveModelSerializers
|
||||
end
|
||||
|
||||
def next_page_url
|
||||
return nil if (collection.total_pages == 0 || collection.current_page == collection.total_pages)
|
||||
return nil if collection.total_pages == 0 || collection.current_page == collection.total_pages
|
||||
url_for_page(collection.next_page)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user