instance method
action_path
Ruby on Rails 5.2.8.1
Since v3.0.20 PrivateSignature
action_path(name)
No documentation comment.
Parameters
-
namereq
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1773
def action_path(name)
@scope[:path_names][name.to_sym] || name
end
Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 1773
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::Mapper::Resources