method
endpoint
rails latest stable - Class:
ActionDispatch::Routing::RouteWrapper
endpoint()public
No documentation available.
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 15
def endpoint
case
when app.dispatcher?
"#{controller}##{action}"
when rack_app.is_a?(Proc)
"Inline handler (Proc/Lambda)"
else
rack_app.inspect
end
end