method
action_path
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
action_path(name, path = nil)protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1447
def action_path(name, path = nil) #:nodoc:
# Ruby 1.8 can't transform empty strings to symbols
name = name.to_sym if name.is_a?(String) && !name.empty?
path || @scope[:path_names][name] || name.to_s
end