Sha256: 1d8f38121726cd34faeed62596cecfd05864e0fa58490debf2eaeff0f4eb8f5a
Contents?: true
Size: 377 Bytes
Versions: 2
Compression:
Stored size: 377 Bytes
Contents
module KmsCatalog class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../../../../../', __FILE__) def insert_engine_routes route %( mount Kms::Catalog::Engine => '/kms' ) end def insert_javascript append_file "app/assets/javascripts/application.js", "//= require kms_catalog/application\n" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kms_catalog-0.5.0 | lib/generators/kms_catalog/install/install_generator.rb |
kms_catalog-0.4.0 | lib/generators/kms_catalog/install/install_generator.rb |