Fix limit_param in favourites_controller.rb (#3553)

lolsob-rspec
Naoki Kosaka 2017-06-04 21:52:26 +09:00 committed by Eugen Rochko
parent 04bd224629
commit 13aa805de8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Api::V1::FavouritesController < ApiController
end end
def records_continue? def records_continue?
results.size == limit_param(DEFAULT_ACCOUNTS_LIMIT) results.size == limit_param(DEFAULT_STATUSES_LIMIT)
end end
def pagination_params(core_params) def pagination_params(core_params)