Skip to content

Commit

Permalink
Use the actual class instead of hardcoded RKObjectManager class in ob…
Browse files Browse the repository at this point in the history
…jectManagerWithBaseURL:
  • Loading branch information
rehos committed Jul 26, 2011
1 parent ee54571 commit b9d29b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/ObjectMapping/RKObjectManager.m
Expand Up @@ -70,7 +70,7 @@ + (void)setSharedManager:(RKObjectManager*)manager {
}

+ (RKObjectManager*)objectManagerWithBaseURL:(NSString*)baseURL {
RKObjectManager* manager = [[[RKObjectManager alloc] initWithBaseURL:baseURL] autorelease];
RKObjectManager* manager = [[[self alloc] initWithBaseURL:baseURL] autorelease];
if (nil == sharedManager) {
[RKObjectManager setSharedManager:manager];
}
Expand Down

0 comments on commit b9d29b8

Please sign in to comment.