Class: AuthN::Generators::ConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- AuthN::Generators::ConfigGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/authn/install_generator.rb
Instance Method Summary collapse
-
#copy_initializer_file ⇒ Object
Copy the initializer file to config/initializers folder.
Instance Method Details
#copy_initializer_file ⇒ Object
Copy the initializer file to config/initializers folder.
13 14 15 |
# File 'lib/generators/authn/install_generator.rb', line 13 def copy_initializer_file template "initializer.rb.tt", "config/initializers/authn.rb" end |