Its pretty simple: how do I trigger rails to send the forgotten password email:
def send_invitation
raise "Tell devise to send email"
end
Thats where I need to send the email from. That gets triggered in few instances but I need it to work…
Something like
def send_invitation
DeviseMailer.forgotten_password.deliver
end
Thats not the right code, I don’t even know where to look
It’s
send_reset_password_instructions, you can find it by looking at the class documentation that you add when you specifyrecoverablein the model, Recoverable documentation. The same is true for the other Devise options such asconfirmabletoo.