mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
1453a1d04e
Issue #2846 -Implement custom RESTAdapter and serializer for settings data. -Convert theme selector to Ember.Select. -Finish upload modal and wire into settings page.
16 lines
426 B
JavaScript
16 lines
426 B
JavaScript
var Setting = DS.Model.extend({
|
|
title: DS.attr('string'),
|
|
description: DS.attr('string'),
|
|
email: DS.attr('string'),
|
|
logo: DS.attr('string'),
|
|
cover: DS.attr('string'),
|
|
defaultLang: DS.attr('string'),
|
|
postsPerPage: DS.attr('number'),
|
|
forceI18n: DS.attr('boolean'),
|
|
permalinks: DS.attr('string'),
|
|
activeTheme: DS.attr('string'),
|
|
availableThemes: DS.attr()
|
|
});
|
|
|
|
export default Setting;
|