method
using_match_shorthand?
v8.1.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Mapping::Resources
using_match_shorthand?(path)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 2176
def using_match_shorthand?(path)
%{^/?[-\w]+/[-\w/]+$}.match?(path)
end