diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-09 22:54:57 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-09 22:54:57 -0700 |
commit | 3c18762fda9a91717b5defc300ace6bda61eb233 (patch) | |
tree | 6d74ed42bead656d7cad1f3036a74dbe8800278d /modules/gallery/models | |
parent | f0d8aef0ead373f310c59c665f8973264815e784 (diff) |
Change the way that this works. Now instead of sending back the image
metadata and the data itself JSON encoded, we just send back the raw
data with the right Content-Type. This, combined with code in
Item_Model::as_restful_array() that swaps in /rest/data urls as
appropriate, means that the RESTful payload has consistent urls when
permissions are in play.
Diffstat (limited to 'modules/gallery/models')
0 files changed, 0 insertions, 0 deletions