Class: Ecom2::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/ecom2/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#installObject



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