method
using_match_shorthand?
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
using_match_shorthand?(path, options)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1273
def using_match_shorthand?(path, options)
path && (options[:to] || options[:action]).nil? && path =~ %{/[\w/]+$}
end