From 085538c2bd817fc083ee9e42c9fdd7f74fc48ecb Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Sat, 19 Mar 2016 17:37:54 -0400 Subject: Use the configured Kaminari "per page" default --- app/controllers/profiles_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/profiles_controller.rb') 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 -- cgit v1.2.1