Skip to main content

page_path_matches

Function page_path_matches 

Source
pub fn page_path_matches(pattern: &str, request: &str) -> bool
Expand description

Does a concrete request path match a page’s declared ## Page path? A :name segment matches any one segment — the same rule web.lg’s matchRoute applies inside the page, exposed so page_pattern_routing_lock holds the REAL matcher the router uses.