mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
4bc3af4039
closes #276 - settings screen now loads a model when a pane is requested, rather than when the whole screen is requested - added browse, read and edit methods and routes for users to the API - added user model & template to client and wired everything up. - provided default images for cover and profile picture
13 lines
318 B
JavaScript
13 lines
318 B
JavaScript
/*global window, document, Ghost, $, _, Backbone */
|
|
(function () {
|
|
"use strict";
|
|
|
|
Ghost.Models.User = Backbone.Model.extend({
|
|
url: Ghost.settings.apiRoot + '/users/1'
|
|
});
|
|
|
|
// Ghost.Collections.Users = Backbone.Collection.extend({
|
|
// url: Ghost.settings.apiRoot + '/users'
|
|
// });
|
|
|
|
}()); |