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