You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am 99% sure that set_locale does not support nested routes like /en/a/b. It does display them when you enter them directly in the browser, but does not redirect from /a/b to /en/a/b, which leads to a 404.
EDIT: Workaround is to duplicate all those routes in the default scope after get "/", PageController, :index like get "/a/b", PageController, :ab
The text was updated successfully, but these errors were encountered:
I am 99% sure that set_locale does not support nested routes like
/en/a/b
. It does display them when you enter them directly in the browser, but does not redirect from/a/b
to/en/a/b
, which leads to a 404.EDIT: Workaround is to duplicate all those routes in the default scope after
get "/", PageController, :index
likeget "/a/b", PageController, :ab
The text was updated successfully, but these errors were encountered: