route: add constraints to repositories which are lost in Rails3 route
Authored by: tmaruyama 2012-04-27
Parent: [r9545]
Child: [r9547]