method
create_authentication_files
rails latest stable - Class:
Rails::Generators::AuthenticationGenerator
create_authentication_files()public
No documentation available.
# File railties/lib/rails/generators/rails/authentication/authentication_generator.rb, line 13
def create_authentication_files
template "app/models/session.rb"
template "app/models/user.rb"
template "app/models/current.rb"
template "app/controllers/sessions_controller.rb"
template "app/controllers/concerns/authentication.rb"
template "app/controllers/passwords_controller.rb"
template "app/channels/application_cable/connection.rb" if defined?(ActionCable::Engine)
template "app/mailers/passwords_mailer.rb"
template "app/views/passwords_mailer/reset.html.erb"
template "app/views/passwords_mailer/reset.text.erb"
template "test/mailers/previews/passwords_mailer_preview.rb"
end