Sha256: 60ddfd34bf7a99ebae4bbb39935005c645c6efeee7b6a2106065d692bd59fc5d

Contents?: true

Size: 520 Bytes

Versions: 6

Compression:

Stored size: 520 Bytes

Contents

# frozen_string_literal: true

require "rails/generators/erb"

module Erb # :nodoc:
  module Generators # :nodoc:
    class AuthenticationGenerator < Rails::Generators::Base # :nodoc:
      def create_files
        template "views/passwords/new.html.erb", File.join("app/views/passwords/new.html.erb")
        template "views/passwords/edit.html.erb", File.join("app/views/passwords/edit.html.erb")
        template "views/sessions/new.html.erb", File.join("app/views/sessions/new.html.erb")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
railties-8.0.0.beta1 lib/rails/generators/erb/authentication/authentication_generator.rb
omg-railties-8.0.0.alpha9 lib/rails/generators/erb/authentication/authentication_generator.rb
omg-railties-8.0.0.alpha8 lib/rails/generators/erb/authentication/authentication_generator.rb
omg-railties-8.0.0.alpha7 lib/rails/generators/erb/authentication/authentication_generator.rb
omg-railties-8.0.0.alpha4 lib/rails/generators/erb/authentication/authentication_generator.rb
omg-railties-8.0.0.alpha3 lib/rails/generators/erb/authentication/authentication_generator.rb