mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
17d455ceba
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;
|