kot-begemot/localization-middleware — pull request #1 by heracek (2014-11-28 11:34:02+00:00)
Title: Conflicting URL with lang prefix

There is problem with `local_path` pattern matching when path prefix is same as one of locales.

Now it matches `'ru'` locale for `'/running'` path (with extracted path `'nning'`).

It should match `nil` locale for `'/running'` path.
And `'ru'` locale for `'/ru/running'` path.
Both with extracted path `'/running'`