Ghost/ghost/admin/models/settings.js
Sebastian Gierlinger 56de932492 Fix error when uploading logo/cover image
closes #1616
- removed pars from model
- changed checkbox handling
2013-12-06 16:43:53 +01:00

11 lines
279 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.paths.apiRoot + '/settings/?type=blog,theme',
id: '0'
});
}());