mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
c614a652cb
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
14 lines
234 B
JavaScript
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;
|