method
action_path
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Scoping::Resources
action_path(name, path = nil)protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1664
def action_path(name, path = nil) #:nodoc:
name = name.to_sym if name.is_a?(String)
path || @scope[:path_names][name] || name.to_s
end