method

route_uri_pattern

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)"