Class: GotFixed::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- GotFixed::Generators::InstallGenerator
- Defined in:
- lib/generators/got_fixed/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_route ⇒ Object
13 14 15 |
# File 'lib/generators/got_fixed/install/install_generator.rb', line 13 def add_route route "mount GotFixed::Engine => '/got_fixed'" end |
#copy_default_config ⇒ Object
9 10 11 |
# File 'lib/generators/got_fixed/install/install_generator.rb', line 9 def copy_default_config copy_file "got_fixed.yml", "config/got_fixed.yml" end |