layouts: use a common procedure_context layout for the demarche overview

This commit is contained in:
Pierre de La Morinerie 2019-01-07 11:17:11 +00:00
parent 5a36546485
commit e25bd7139f
11 changed files with 106 additions and 81 deletions

View file

@ -2,6 +2,8 @@ module NewUser
class DossiersController < UserController
include DossierHelper
layout 'procedure_context', only: [:identite, :update_identite, :siret, :update_siret]
SESSION_USER_RETURN_LOCATION = 'user_return_to'
ACTIONS_ALLOWED_TO_ANY_USER = [:index, :recherche, :new]
ACTIONS_ALLOWED_TO_OWNER_OR_INVITE = [:show, :demande, :messagerie, :brouillon, :update_brouillon, :modifier, :update, :create_commentaire, :purge_champ_piece_justificative]