Skip to content

Instantly share code, notes, and snippets.

@cktricky
Created October 3, 2014 19:09
Show Gist options
  • Save cktricky/01835c9a1ce15c936235 to your computer and use it in GitHub Desktop.
Save cktricky/01835c9a1ce15c936235 to your computer and use it in GitHub Desktop.
MyMailer (override Devise's Mailer)
class MyMailer < Devise::Mailer
def confirmation_instructions(record, token, opts={})
# code to be added here later
end
def reset_password_instructions(record, token, opts={})
# code to be added here later
end
def unlock_instructions(record, token, opts={})
# code to be added here later
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment