Class: TopholdEngineGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TopholdEngineGenerator
- Defined in:
- lib/generators/tophold_engine/tophold_engine_generator.rb
Instance Method Summary collapse
Instance Method Details
#install_engine_patch ⇒ Object
6 7 8 9 |
# File 'lib/generators/tophold_engine/tophold_engine_generator.rb', line 6 def install_engine_patch template "rails_engine_namespace_patch.rb", "config/initializers/rails_engine_namespace_patch.rb" template "sunspot_mongoid_patch.rb", "config/initializers/sunspot_mongoid_patch.rb" end |