fix(avis_controller): acl on instruction
This commit is contained in:
parent
f500cb8dc7
commit
c17bc50def
2 changed files with 15 additions and 2 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]
|
||||
before_action :check_if_avis_revoked, only: [:show, :instruction]
|
||||
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
Add a link
Reference in a new issue