[#2604] Remove unneeded self in AssignTo
This commit is contained in:
parent
85f698bc71
commit
84cac7a5c2
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,6 @@ class AssignTo < ApplicationRecord
|
|||
has_one :procedure_presentation, dependent: :destroy
|
||||
|
||||
def procedure_presentation_or_default
|
||||
self.procedure_presentation || build_procedure_presentation
|
||||
procedure_presentation || build_procedure_presentation
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue