Ruby on rails-Anwendung root

Wie ändere ich eine rails-app, so dass ein controller foo wird als root der Anwendung?

In anderen Worten, jetzt alle urls so Aussehen host.com/foo/... und ich möchte, um loszuwerden, die " foo " und haben einfach host.com/...

InformationsquelleAutor Bee | 2009-01-23
Schreibe einen Kommentar