Pagination per page procedures for admin change 2 => 12

This commit is contained in:
Xavier J 2015-11-26 16:39:37 +01:00
parent eed7232b8b
commit 02453e4cb1

View file

@ -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