Class: Adauth::Generators::ConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Adauth::Generators::ConfigGenerator
- Defined in:
- lib/generators/adauth/config/config_generator.rb
Overview
Generates a sample config file
Instance Method Summary collapse
-
#generate_config ⇒ Object
Generates a sample config file.
Instance Method Details
#generate_config ⇒ Object
Generates a sample config file
Called by running:
rails g adauth:config
12 13 14 |
# File 'lib/generators/adauth/config/config_generator.rb', line 12 def generate_config template "config.rb.erb", "config/initializers/adauth.rb" end |