Class: Ecom2::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Ecom2::InstallGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/ecom2/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
5 6 7 8 |
# File 'lib/generators/ecom2/install_generator.rb', line 5 def install route 'mount Ecom2::Engine => "/store"' copy_file "../../../../config/locales/en.yml", "config/locales/ecom.en.yml" end |