Skip to main content

humanize_route

Function humanize_route 

Source
pub fn humanize_route(route: &str) -> String
Expand description

Convert a route path to a human-readable nav label.

"/""Home", "/gallery""Gallery", "/about-us""About Us".