i have a rails 3 engine scoped dynamically like this:
scope “/:locale” do
mount MyEngine::Engine => ‘’, :as => ‘my_engine’
I can’t seem to be able to set my own locale like this:
my_engine.page_path(page, :locale => ‘de’)
the path is generated like this:
instead of simply:
Any suggestions how to do this correcly?