zenom
7/8/2010 - 7:29 PM

Exception

SyntaxError at /admin/models/create
compile error /Users/andy/Documents/Apps/models.securejoin.com/app/views/mailers/model_register/registration_email.haml:3: syntax error, unexpected ',', expecting ')' ..._true_false(("Hello #{:name}", = "Welcome to the site." ^
Banjo.mailer :model_register do
  # Message definitions here...
  email :registration_email do |name, email|
    from "no-reply@belator.com"
    to email
    subject "Your account has been created."
    locals :name => name, :email => email
    render "model_register/registration_email.haml"
    content_type :html
    via :smtp
  end
end
%b="Hello #{name}",
= "Welcome to the site."