I am trying to addRoutes but getting "Cannot add a route with the same class and method as an existing route."
I have a class Thing that has the same route method for Post, but with a different method of course. When I try to run my app I get the above error. Is there a way to setup the route with a generic method?
[objectManager.router.routeSet addRoute:[RKRoute routeWithClass:[Thing class]
pathPattern:@"v1/things/update_location.json.json" method:RKRequestMethodPOST]];
[objectManager.router.routeSet addRoute:[RKRoute routeWithClass:[Thing class]
pathPattern:@"v1/things.json" method:RKRequestMethodPOST]];
The above is a duplicate according to Restkit, as it using the same class "Thing" and because the Method is the same? What gives?