Pagination per page procedures for admin change 2 => 12
This commit is contained in:
parent
eed7232b8b
commit
02453e4cb1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class Admin::ProceduresController < AdminController
|
|||
|
||||
def index
|
||||
@procedures = current_administrateur.procedures
|
||||
@procedures = @procedures.paginate(:page => params[:page], :per_page => 2)
|
||||
@procedures = @procedures.paginate(:page => params[:page], :per_page => 12)
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Reference in a new issue