mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
624680bb93
- This is a first pass at getting a more logical structure. The focus is on moving from admin/frontend to client/server. - The location of the databases is highly important, this isn't expected to change again In the future - client/assets should probably become public/ - more stuff should be shared (helpers etc) - cleanup some confusion around tpl and views
16 lines
398 B
JavaScript
16 lines
398 B
JavaScript
/*global window, document, Ghost, $, _, Backbone */
|
|
(function () {
|
|
"use strict";
|
|
|
|
// Set the url manually and id to '0' to force PUT requests
|
|
Ghost.Models.Settings = Backbone.Model.extend({
|
|
url: '/api/v0.1/settings/',
|
|
id: "0",
|
|
defaults: {
|
|
title: 'My Blog',
|
|
description: '',
|
|
email: 'admin@tryghost.org'
|
|
}
|
|
});
|
|
|
|
}()); |