superadmin can get procedures from zone
This commit is contained in:
parent
537e6066d8
commit
c7b5e57d2a
1 changed files with 1 additions and 0 deletions
|
@ -10,4 +10,5 @@
|
|||
#
|
||||
class Zone < ApplicationRecord
|
||||
validates :acronym, presence: true, uniqueness: true
|
||||
has_many :procedures, -> { order(published_at: :desc) }, inverse_of: :zone
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue