summaryrefslogtreecommitdiff
path: root/lib/api/users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r--lib/api/users.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb
index 20801b7e294..c28e07a76b7 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -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