mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
4525c355af
closes #488 and #107 - added dropdown for theme selection on general page - added GET /api/v0.1/themes to retrieve available themes - modified settings model to get available themes - modified updateSettignsCache to remove path from settings.activeTheme
9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
/*global window, document, Ghost, $, _, Backbone */
|
|
(function () {
|
|
"use strict";
|
|
|
|
Ghost.Models.Themes = Backbone.Model.extend({
|
|
url: Ghost.settings.apiRoot + '/themes'
|
|
});
|
|
|
|
}()); |