Routes fix for new version of Rails (4.x.x)