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

Get rid of extra .page call

parent 1a04a51b
......@@ -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
......
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