[#1563] Remove useless self keywords
This commit is contained in:
parent
c94cc53985
commit
66aca60957
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ module MailTemplateConcern
|
|||
|
||||
module ClassMethods
|
||||
def default_for_procedure(procedure)
|
||||
body = ActionController::Base.new.render_to_string(template: self.const_get(:TEMPLATE_NAME))
|
||||
self.new(subject: self.const_get(:DEFAULT_SUBJECT), body: body, procedure: procedure)
|
||||
body = ActionController::Base.new.render_to_string(template: const_get(:TEMPLATE_NAME))
|
||||
new(subject: const_get(:DEFAULT_SUBJECT), body: body, procedure: procedure)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue