refactor(routing): do not use toggle_routing as a callback anymore
This commit is contained in:
parent
30f6aaed34
commit
2a3ffdf3c6
1 changed files with 0 additions and 1 deletions
|
@ -34,7 +34,6 @@ class GroupeInstructeur < ApplicationRecord
|
|||
end
|
||||
|
||||
before_validation -> { label&.strip! }
|
||||
after_save :toggle_routing
|
||||
|
||||
scope :without_group, -> (group) { where.not(id: group) }
|
||||
scope :for_api_v2, -> { includes(procedure: [:administrateurs]) }
|
||||
|
|
Loading…
Reference in a new issue