CrossClj
noir.core/pre-route
RECENT
    • (pre-route & args)
    Adds a route to the beginning of the route table and passes the entire request
      to be destructured and used in the body. These routes are the only ones to make
      an ordering gaurantee. They will always be in order of ascending specificity (e.g. /* ,
      /admin/* , /admin/user/*) Pre-routes are usually used for filtering, like redirecting
      a section based on privileges:
    
      (pre-route '/admin/*' {} (when-not (is-admin?) (redirect '/login')))

    No usages found for noir.core/pre-route

    Search for vars with similar names in all artifacts: pre-route

    Search for pre route in the documentation of all artifacts.

    Source code