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 the route context to the request map #202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 25, 2021

  1. Add the route context to the request map

    This provides access to the route prefix as a companion to the existing
    :compojure/route data allowing the full route to be reconstructed.
    Since the context macro only accepts a path the new :compojure/context
    value simply contains the route path instead of the method+route pair
    present in :compojure/route.
    
    This data was introduced as a new field in the request path, rather than
    updating :compojure/route to include the context for the sake of
    backwards compatibility.
    Chris Thunes committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    5dcf92f View commit details
    Browse the repository at this point in the history