model
This commit is contained in:
parent
990fc04b03
commit
d187b7e881
1 changed files with 6 additions and 0 deletions
|
@ -696,6 +696,12 @@ class Procedure < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def restore_procedure
|
||||
if discarded?
|
||||
undiscard
|
||||
end
|
||||
end
|
||||
|
||||
def flipper_id
|
||||
"Procedure;#{id}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue