Sha256: 5a8c36c5b1db875cee8f4bbc5f345cb0288ec1041eb2ad1b6572403fe3408f0c
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
class Ecom::InstallGenerator < ::Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) desc "Installs Ecom Store" def install route 'mount Ecom::Engine => "/store"' copy_file "../../../../config/locales/en.yml", "config/locales/ecom.en.yml" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecom-0.2.0 | lib/generators/ecom/install_generator.rb |