mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
bd8db968ea
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
10 lines
275 B
JavaScript
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"
|
|
});
|
|
|
|
}()); |