Procedure.routee?
This commit is contained in:
parent
fb631fb019
commit
3bc20bdb06
1 changed files with 4 additions and 0 deletions
|
@ -481,6 +481,10 @@ class Procedure < ApplicationRecord
|
||||||
!AssignTo.exists?(groupe_instructeur: groupe_instructeurs)
|
!AssignTo.exists?(groupe_instructeur: groupe_instructeurs)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def routee?
|
||||||
|
groupe_instructeurs.count > 1
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def move_type_de_champ_attributes(types_de_champ, type_de_champ, new_index)
|
def move_type_de_champ_attributes(types_de_champ, type_de_champ, new_index)
|
||||||
|
|
Loading…
Reference in a new issue