Class: Qa::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Qa::InstallGenerator
- Defined in:
- lib/generators/qa/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_oclcts_configs ⇒ Object
10 11 12 |
# File 'lib/generators/qa/install/install_generator.rb', line 10 def copy_oclcts_configs copy_file "config/oclcts-authorities.yml", "config/oclcts-authorities.yml" end |
#inject_routes ⇒ Object
4 5 6 7 8 |
# File 'lib/generators/qa/install/install_generator.rb', line 4 def inject_routes insert_into_file "config/routes.rb", after: ".draw do" do %(\n mount Qa::Engine => '/qa'\n) end end |