class ActionDispatch::Routing::Mapper::Mapping

def using_match_shorthand?(path, options)

match "account/overview"
def using_match_shorthand?(path, options)
  path && options.except(:via, :anchor, :to, :as).empty? && path =~ %r{^/[\w\/]+$}
end