Flowdock
method

normalize_path

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper
normalize_path(path) public

Invokes Rack::Mount::Utils.normalize path and ensure that (:locale) becomes (/:locale) instead of /(:locale). Except for root cases, where the latter is the correct one.

Show source
Register or log in to add new notes.