Skip to content

Commit

Permalink
Merge pull request RestKit#247 from rehos/patch-1
Browse files Browse the repository at this point in the history
Use the actual class instead of hardcoded RKObjectManager class
  • Loading branch information
blakewatters committed Jul 28, 2011
2 parents d7c87be + b9d29b8 commit f547439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/ObjectMapping/RKObjectManager.m
Original file line number Diff line number Diff line change
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 f547439

Please sign in to comment.