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/snippets_controller.rb | |
parent | 3f22a92f4a561543c2249786b695d0c65120455b (diff) |
Use the configured Kaminari "per page" default
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r-- | app/controllers/snippets_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb index c72df73af46..2daceed039b 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -25,7 +25,7 @@ class SnippetsController < ApplicationController filter: :by_user, user: @user, scope: params[:scope] }). - page(params[:page]).per(PER_PAGE) + page(params[:page]) render 'index' else |