mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
Tag API: Primary Document Format
Closes #2605 - Change tags browse() response to { tags: [...] } - Update client side collection to use nested tags document - Update test references to use response.tags
This commit is contained in:
parent
52197d3a38
commit
5ddfe279f1
@ -3,6 +3,10 @@
|
||||
'use strict';
|
||||
|
||||
Ghost.Collections.Tags = Ghost.ProgressCollection.extend({
|
||||
url: Ghost.paths.apiRoot + '/tags/'
|
||||
url: Ghost.paths.apiRoot + '/tags/',
|
||||
|
||||
parse: function (resp) {
|
||||
return resp.tags;
|
||||
}
|
||||
});
|
||||
}());
|
||||
|
Loading…
Reference in New Issue
Block a user