This commit is contained in:
Kara Diaby 2022-05-10 13:59:11 +02:00
parent 990fc04b03
commit d187b7e881

View file

@ -696,6 +696,12 @@ class Procedure < ApplicationRecord
end
end
def restore_procedure
if discarded?
undiscard
end
end
def flipper_id
"Procedure;#{id}"
end