Ghost/ghost/admin/models/settings.js
Sebastian Gierlinger d7bafd4b2a Add setting filter
closes #172
- added type to ghost.settings()
- added /api/settings?type=<filter>
- added availableThemes to settingsCache
- removed cachedSettingsRequestHandler
- removed /api/themes (including front end)
- changed activePlugins to type "plugin" in default-settings.json
2013-09-15 18:04:01 +02:00

10 lines
275 B
JavaScript

/*global window, document, Ghost, $, _, Backbone */
(function () {
"use strict";
//id:0 is used to issue PUT requests
Ghost.Models.Settings = Backbone.Model.extend({
url: Ghost.settings.apiRoot + '/settings?type=blog,theme',
id: "0"
});
}());