Fix Travis lint offenses

This commit is contained in:
mecampbellsoup
2017-06-14 13:35:00 -04:00
parent e4b3224c64
commit 402883d84f
2 changed files with 2 additions and 2 deletions

View File

@@ -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