DossierController: private some methods

This commit is contained in:
simon lehericey 2018-09-26 16:50:39 +02:00
parent 912371fbd6
commit 16566b46c0

View file

@ -38,6 +38,8 @@ class API::V1::DossiersController < APIController
render json: {}, status: 404
end
private
def pagination(dossiers)
{
page: dossiers.current_page,