Hi

I have at the moment the same problem as you.
Have you found a solution for it?

Thanks in advance for your help!
Roman

Am Samstag, 4. Juni 2011 10:31:14 UTC+2 schrieb Tomas Celizna:
>
> hello,
> i have a rails 3 engine scoped dynamically like this:
>
> scope "/:locale" do
>     mount MyEngine::Engine => '', :as => 'my_engine'
> end
>
> 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:
>
> /en/page/12345?locale=de
>
> instead of simply:
>
> /de/page/12345
>
> Any suggestions how to do this correcly?
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e2c9c174-8db3-4650-a4ab-0e6974e7072c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to