Merge pull request #783 from sgmap/increase-page-length
Increase the number of dossiers on the procedure page
This commit is contained in:
commit
bcff2bb6c3
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ module NewGestionnaire
|
||||||
before_action :ensure_ownership!, except: [:index]
|
before_action :ensure_ownership!, except: [:index]
|
||||||
before_action :redirect_to_avis_if_needed, only: [:index]
|
before_action :redirect_to_avis_if_needed, only: [:index]
|
||||||
|
|
||||||
ITEMS_PER_PAGE = 12
|
ITEMS_PER_PAGE = 25
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@procedures = current_gestionnaire.procedures.order(archived_at: :desc, published_at: :desc)
|
@procedures = current_gestionnaire.procedures.order(archived_at: :desc, published_at: :desc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue