class Arturo::RoutesGenerator

Public Instance Methods

add_mount() click to toggle source
# 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