There is a problem with scopes that include conditional variables:
namespace :myspace do
scope "/:user_id" do
get 'foo' => 'foo#bar' # Is translated correctly
# myspace_julemand_da GET /da/myspace/:user_id/julemand(.:format)
end
scope "/(:user_id)" do
get 'too' => 'too#bar' # Is not translated :(
# myspace_too_da GET /da/myspace(/:user_id)/too(.:format)
end
end
Which surely must be a bug?
I wanted to add a failing test, but there isn't any :-)
With this i18n-routes.yml:
There is a problem with scopes that include conditional variables:
Which surely must be a bug?
I wanted to add a failing test, but there isn't any :-)