class Rails::Generators::AuthenticationGenerator
def create_authentication_files
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