mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Fixed hound
This commit is contained in:
parent
44c3784977
commit
94a7868d6e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue