diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-20 00:37:54 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-20 00:37:54 +0300 |
commit | 085538c2bd817fc083ee9e42c9fdd7f74fc48ecb (patch) | |
tree | d7beb73fab81ab9bf4c1c95fe8dd0e7a0ed29c36 /app/controllers/dashboard/snippets_controller.rb | |
parent | 3f22a92f4a561543c2249786b695d0c65120455b (diff) |
Use the configured Kaminari "per page" default
Diffstat (limited to 'app/controllers/dashboard/snippets_controller.rb')
-rw-r--r-- | app/controllers/dashboard/snippets_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard/snippets_controller.rb b/app/controllers/dashboard/snippets_controller.rb index b3594d82530..bcfdbe14be9 100644 --- a/app/controllers/dashboard/snippets_controller.rb +++ b/app/controllers/dashboard/snippets_controller.rb @@ -6,6 +6,6 @@ class Dashboard::SnippetsController < Dashboard::ApplicationController user: current_user, scope: params[:scope] ) - @snippets = @snippets.page(params[:page]).per(PER_PAGE) + @snippets = @snippets.page(params[:page]) end end |