Class: Motor::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Motor::Generators::InstallGenerator
- Extended by:
- Migration
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/motor/install_generator.rb
Instance Method Summary collapse
Methods included from Migration
Instance Method Details
#copy_migration ⇒ Object
17 18 19 20 21 |
# File 'lib/generators/motor/install_generator.rb', line 17 def copy_migration migration_template 'install.rb', 'db/migrate/install_motor_admin.rb' route "mount Motor::Admin => '/motor_admin'" end |