class ActionDispatch::Routing::RouteSet::NamedRouteCollection
def route_defined?(name)
def route_defined?(name) key = name.to_sym @path_helpers.include?(key) || @url_helpers.include?(key) end
def route_defined?(name) key = name.to_sym @path_helpers.include?(key) || @url_helpers.include?(key) end