per in pagination removed
This commit is contained in:
parent
bed87a3ac0
commit
d5fcf79b8d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue