Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP::Request#route_uri_pattern that returns URI pattern of matched route. #47129

Merged
merged 2 commits into from
Jan 25, 2023

Commits on Jan 25, 2023

  1. Tag HTTP::Request with route URI pattern

    In the GitHub RoR monolith, we output the route URI pattern
    in an HTML meta tag in our application layout for analysis
    purposes. However, our current implementation is quite manual.
    
    This change adds an attribute to requests with the URI pattern
    of the matched route.
    
    Co-authored-by: Kate Higa <khiga8@github.com>
    joelhawksley and khiga8 committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    3e63c4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7879e66 View commit details
    Browse the repository at this point in the history