Commit 3685e867 authored by Airat Shigapov's avatar Airat Shigapov

Get rid of extra .page call

parent 1a04a51b
...@@ -337,8 +337,7 @@ module API ...@@ -337,8 +337,7 @@ module API
merge(ProjectsFinder.new.execute(current_user)). merge(ProjectsFinder.new.execute(current_user)).
references(:project). references(:project).
with_associations. with_associations.
recent. recent
page(params[:page])
present paginate(events), with: Entities::Event present paginate(events), with: Entities::Event
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment