A router for rails