in my app i need to set & send different emails. the app operates
under 3 domains, and so i want to the able to set the opt hash
accordingly with template and url options ...
--> from within the mailer i cannot access 'request' object, hence i
need to saty within my cusotm devise controller. but how can i pass
these variable to my mailer?
controller: class Users::PasswordsController < Devise::PasswordsController
p "PasswordsController :: do_before"
if request.host == 'foo.com'
@x = 'bar'
p "PasswordsController :: create"
# how to get @x over to mailer???