class KmsShop::InstallGenerator
Public Instance Methods
insert_engine_routes()
click to toggle source
# File lib/generators/kms_shop/install/install_generator.rb, line 5 def insert_engine_routes route %( mount Kms::Shop::Engine => '/kms' ) end
insert_javascript()
click to toggle source
# File lib/generators/kms_shop/install/install_generator.rb, line 11 def insert_javascript append_file "app/assets/javascripts/application.js", "//= require kms_shop/application\n" end