Fixed hound

This commit is contained in:
Zanz2 2018-09-11 09:16:59 +02:00
parent 44c3784977
commit 94a7868d6e

View file

@ -9,8 +9,8 @@ module Api
def index
user_projects = @project.user_projects
.page(params.dig(:page, :number))
.per(params.dig(:page, :size))
.page(params.dig(:page, :number))
.per(params.dig(:page, :size))
render jsonapi: user_projects, each_serializer: UserProjectSerializer
end