Get rid of extra .page call
This commit is contained in:
parent
1a04a51b52
commit
3685e867c8
1 changed files with 1 additions and 2 deletions
|
@ -337,8 +337,7 @@ module API
|
|||
merge(ProjectsFinder.new.execute(current_user)).
|
||||
references(:project).
|
||||
with_associations.
|
||||
recent.
|
||||
page(params[:page])
|
||||
recent
|
||||
|
||||
present paginate(events), with: Entities::Event
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue