class DeviseToken::InstallViewsGenerator

Public Instance Methods

copy_mailer_templates() click to toggle source
# File lib/generators/devise_token/install_views_generator.rb, line 5
def copy_mailer_templates
  copy_file(
    "confirmation_instructions.html.erb",
    "app/views/devise/mailer/confirmation_instructions.html.erb"
  )
  copy_file(
    "reset_password_instructions.html.erb",
    "app/views/devise/mailer/reset_password_instructions.html.erb"
  )
end