Class: Generators::Avo::InstallGenerator
- Inherits:
-
BaseGenerator
- Object
- Rails::Generators::Base
- BaseGenerator
- Generators::Avo::InstallGenerator
- Defined in:
- lib/generators/avo/install_generator.rb
Instance Method Summary collapse
Methods inherited from BaseGenerator
Constructor Details
This class inherits a constructor from Generators::Avo::BaseGenerator
Instance Method Details
#create_initializer_file ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/generators/avo/install_generator.rb', line 12 def create_initializer_file route "mount Avo::Engine, at: Avo.configuration.root_path" template "initializer/avo.tt", "config/initializers/avo.rb" create_resources end |