method
using_match_shorthand?
rails 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