Method: Warclight::Install#add_custom_routes
- Defined in:
- lib/generators/warclight/install_generator.rb
#add_custom_routes ⇒ Object
26 27 28 29 30 |
# File 'lib/generators/warclight/install_generator.rb', line 26 def add_custom_routes inject_into_file 'config/routes.rb', after: "mount Blacklight::Engine => '/'" do "\n mount Warclight::Engine => '/'\n" end end |