class DeviseTokenAuth::InstallViewsGenerator

Public Instance Methods

copy_mailer_templates() click to toggle source
# File lib/generators/devise_token_auth/install_views_generator.rb, line 7
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