summaryrefslogtreecommitdiff
path: root/app/controllers/profiles_controller.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-03-19 17:37:54 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-03-19 17:37:54 -0400
commit085538c2bd817fc083ee9e42c9fdd7f74fc48ecb (patch)
treed7beb73fab81ab9bf4c1c95fe8dd0e7a0ed29c36 /app/controllers/profiles_controller.rb
parent3f22a92f4a561543c2249786b695d0c65120455b (diff)
downloadgitlab-ce-085538c2bd817fc083ee9e42c9fdd7f74fc48ecb.tar.gz
Use the configured Kaminari "per page" defaultrs-use-kaminari-default
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r--app/controllers/profiles_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index 32fca6b838e..9042d8e5f0d 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -34,8 +34,7 @@ class ProfilesController < Profiles::ApplicationController
def audit_log
@events = AuditEvent.where(entity_type: "User", entity_id: current_user.id).
order("created_at DESC").
- page(params[:page]).
- per(PER_PAGE)
+ page(params[:page])
end
def update_username