per in pagination removed

This commit is contained in:
Adrian Hinz 2022-04-14 15:47:43 +02:00
parent bed87a3ac0
commit d5fcf79b8d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class DotationsController < ApplicationController
# GET /dotations or /dotations.json # GET /dotations or /dotations.json
def index def index
@dotations = @dotations =
Dotation.search(params[:search]).order(:name).page(params[:page]).per(2) Dotation.search(params[:search]).order(:name).page(params[:page])
end end
def check_access def check_access