Method: ExampleMailer#example_mail
- Defined in:
- lib/potassium/assets/app/mailers/example_mailer.rb
#example_mail ⇒ Object
2 3 4 5 |
# File 'lib/potassium/assets/app/mailers/example_mailer.rb', line 2 def example_mail @email = params[:email] mail(from: '[email protected]', to: @email, subject: 'Welcome to Potassium') end |