method
using_match_shorthand?
using_match_shorthand?(path)
private
Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1914 def using_match_shorthand?(path) path =~ %{^/?[-\w]+/[-\w/]+$} end