Remove useless methods
This commit is contained in:
parent
b364b8bfb3
commit
69e95f62c8
2 changed files with 5 additions and 12 deletions
|
@ -35,13 +35,9 @@ class GestionnaireMailer < ApplicationMailer
|
|||
|
||||
private
|
||||
|
||||
def vars_mailer(email, args)
|
||||
def send_mail(email, args, subject)
|
||||
@args = args
|
||||
@email = email
|
||||
end
|
||||
|
||||
def send_mail(email, args, subject)
|
||||
vars_mailer email, args
|
||||
|
||||
mail(to: email, subject: subject)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue