[#2604] Remove unneeded self in AssignTo

This commit is contained in:
Frederic Merizen 2018-10-23 11:34:11 +02:00
parent 85f698bc71
commit 84cac7a5c2

View file

@ -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