Update app/helpers/procedure_helper.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
This commit is contained in:
parent
7deedf8245
commit
c288739f13
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module ProcedureHelper
|
|||
end
|
||||
|
||||
def can_manage_groupe_instructeurs?(procedure)
|
||||
procedure.routee? && current_administrateur.present? && current_administrateur.owns?(procedure)
|
||||
procedure.routee? && current_administrateur&.owns?(procedure)
|
||||
end
|
||||
|
||||
def can_send_groupe_message?(procedure)
|
||||
|
|
Loading…
Reference in a new issue