mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-15 23:22:53 +08:00
Refactored the Rails router to respect properties specified by the model objects. Introduced new support to allow models to modify RESTful object loaders just before they are sent. Sample app completely works. Really fucking happy with how this is turning out!
This commit is contained in:
@@ -86,8 +86,8 @@
|
||||
}
|
||||
} else {
|
||||
[items addObject:[TTTableLongTextItem itemWithText:_post.body]];
|
||||
NSString* url = _post.attachmentPath;
|
||||
[items addObject:[TTTableImageItem itemWithText:@"" imageURL:url URL:nil]];
|
||||
NSString* imageURL = _post.attachmentPath;
|
||||
[items addObject:[TTTableImageItem itemWithText:@"" imageURL:imageURL URL:nil]];
|
||||
}
|
||||
|
||||
if ([self.post isNewRecord]) {
|
||||
|
||||
Reference in New Issue
Block a user