method
normalize_path
v5.1.7 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper
normalize_path(path)public
Invokes Journey::Router::Utils.normalize_path and ensure that (:locale) becomes (/:locale) instead of /(:locale). Except for root cases, where the latter is the correct one.