Allows ActiveResource to be used with shallow nested routes.