Forum: Ruby on Rails Default routing to main page and hiding the original request

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ehud R. (Guest)
on 2007-04-14 02:19
Hi everyone,
I'm currently redirecting every request that has not matched any other
to my site controller's index action.
so if someone has tried to access they are
accessing However, the original request is still there and
that's bad. How can I forcefully redirect to

obviously it cant be done in the index action itself (since it will
redirect for ever).

I'm guessing the solution is pretty simple?

This topic is locked and can not be replied to.