Updated rails to 3.1.10
Restored the routing file