mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
d7bafd4b2a
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"
|
|
});
|
|
|
|
}()); |