mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 21:41:49 +03:00
1e62400465
closes #2609 - added include parameter to api.posts.* - changed toJSON to omit objects that are not included - added include parameter to admin - added include parameter to frontend.js - updated tests - removed duplicate code from posts model **Known Issue:** It is not possible to attach a tag using an ID.
10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
/*global Ghost, Backbone */
|
|
(function () {
|
|
'use strict';
|
|
|
|
Ghost.Models.Themes = Backbone.Model.extend({
|
|
url: Ghost.paths.apiRoot + '/themes/'
|
|
});
|
|
|
|
}());
|