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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def restore_procedure
|
||||||
|
if discarded?
|
||||||
|
undiscard
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def flipper_id
|
def flipper_id
|
||||||
"Procedure;#{id}"
|
"Procedure;#{id}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue