summaryrefslogtreecommitdiff
path: root/app/controllers/admin/labels_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/admin/labels_controller.rb
parent3f22a92f4a561543c2249786b695d0c65120455b (diff)
downloadgitlab-ce-085538c2bd817fc083ee9e42c9fdd7f74fc48ecb.tar.gz
Use the configured Kaminari "per page" defaultrs-use-kaminari-default
Diffstat (limited to 'app/controllers/admin/labels_controller.rb')
-rw-r--r--app/controllers/admin/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/labels_controller.rb b/app/controllers/admin/labels_controller.rb
index d79ce2b10fe..d496f08a598 100644
--- a/app/controllers/admin/labels_controller.rb
+++ b/app/controllers/admin/labels_controller.rb
@@ -2,7 +2,7 @@ class Admin::LabelsController < Admin::ApplicationController
before_action :set_label, only: [:show, :edit, :update, :destroy]
def index
- @labels = Label.templates.page(params[:page]).per(PER_PAGE)
+ @labels = Label.templates.page(params[:page])
end
def show