Ghost/core/client/models/settings.js
Hannah Wolfe 6394add9d6 Bugfix handle model and collection separately
issue #1533

- replaces templateModel which was a weird hybrid with progressModel and progressCollection
2013-11-22 21:48:37 +00:00

10 lines
281 B
JavaScript

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