Class: Uchi::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Uchi::InstallGenerator
- Defined in:
- lib/generators/uchi/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_namespace_in_routes ⇒ Object
5 6 7 |
# File 'lib/generators/uchi/install/install_generator.rb', line 5 def create_namespace_in_routes route "namespace :uchi do\nend" end |
#mount_engine ⇒ Object
9 10 11 |
# File 'lib/generators/uchi/install/install_generator.rb', line 9 def mount_engine route "mount Uchi::Engine, at: \"/uchi\"" end |