7 8 9 10 11 12 13
# File 'lib/generators/arturo/routes_generator.rb', line 7 def add_mount if Arturo::Engine.respond_to?(:routes) route "mount Arturo::Engine => ''" else puts "This version of Rails doesn't support Engine-specific routing. Nothing to do." end end