method

route_uri_pattern

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: ActionDispatch::Request
route_uri_pattern() public

Returns the URI pattern of the matched route for the request, using the same format as `bin/rails routes`:

request.route_uri_pattern # => "/:controller(/:action(/:id))(.:format)"
Show source
Register or log in to add new notes.