Routing/Redirecting

Hi all,

Can someone tell me how I could redirect from an url like
www.url.com/mycontroller” to “www.url.com/en/mycontroller”? I was
reading all sorts of routing documentation but couldn’t come up with a
solution. Of course this should be a general rule, so
www.url.com/mycontroller/myaction/myparam=99” should naturally redirct
to “www.url.com/en/mycontroller/myaction/myparam=99” and so on. Thanks
for any help.

Greetings
Patrick

Is there really no way to do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs