Use only new hash syntax

This commit is contained in:
Artem Chernikov 2014-07-21 14:49:05 +02:00
parent 3901973fd6
commit 5289f41eb5
72 changed files with 179 additions and 181 deletions

View file

@ -55,10 +55,10 @@ class Mailbot < ActionMailer::Base
end
def build_email(conference, to, subject, body)
mail(:to => to,
:from => conference.contact_email,
:reply_to => conference.contact_email,
:subject => subject,
:body => body)
mail(to: to,
from: conference.contact_email,
reply_to: conference.contact_email,
subject: subject,
body: body)
end
end