Ghost/ghost/admin/models/app.js
Peter Szel 17d455ceba Ported settings/apps logic to Ember.
Closes #2423

- Created the apps route to fetch apps from server
- Created controller for a single app
- Modified the template of the apps page to use this controller
- Created the Apps model
- Created AppAdapter to use the FixtureAdapter for Ember Data
2014-06-17 23:25:24 +02:00

14 lines
234 B
JavaScript

import appFixtures from 'ghost/fixtures/apps';
var App = DS.Model.extend({
name: DS.attr('string'),
package: DS.attr(),
active: DS.attr('boolean')
});
App.reopenClass({
FIXTURES: appFixtures
});
export default App;