mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Resource Path -> Path
This commit is contained in:
@@ -196,16 +196,4 @@ RKRequestMethod const RKRequestMethodAny = RKRequestMethodInvalid;
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSArray *)routesWithResourcePathPattern:(NSString *)resourcePathPattern
|
||||
{
|
||||
NSMutableArray *routes = [NSMutableArray array];
|
||||
for (RKRoute *route in self.routes) {
|
||||
if ([route.resourcePathPattern isEqualToString:resourcePathPattern]) {
|
||||
[routes addObject:route];
|
||||
}
|
||||
}
|
||||
|
||||
return [NSArray arrayWithArray:routes];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user