fix(avis_controller): check revoked avis by default
This commit is contained in:
parent
801d594efd
commit
bffd8015d8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Experts
|
|||
include Zipline
|
||||
|
||||
before_action :authenticate_expert!, except: [:sign_up, :update_expert]
|
||||
before_action :check_if_avis_revoked, only: [:show, :instruction, :create_avis, :update, :sign_up, :update_expert, :messagerie, :create_commentaire, :bilans_bdf, :telecharger_pjs]
|
||||
before_action :check_if_avis_revoked, except: [:index, :procedure]
|
||||
before_action :redirect_if_no_sign_up_needed, only: [:sign_up, :update_expert]
|
||||
before_action :set_avis_and_dossier, only: [:show, :instruction, :messagerie, :create_commentaire, :delete_commentaire, :update, :telecharger_pjs]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue