2014-02-26 23:45:45 -05:00
|
|
|
import Resolver from 'ember/resolver';
|
2014-03-02 15:12:06 -05:00
|
|
|
import initFixtures from 'ghost/fixtures/init';
|
2014-03-11 17:23:32 +01:00
|
|
|
import {currentUser, injectCurrentUser} from 'ghost/initializers/current-user';
|
2014-02-26 23:45:45 -05:00
|
|
|
|
|
|
|
var App = Ember.Application.extend({
|
2014-02-25 23:58:00 -05:00
|
|
|
/**
|
|
|
|
* These are debugging flags, they are useful during development
|
|
|
|
*/
|
|
|
|
LOG_ACTIVE_GENERATION: true,
|
|
|
|
LOG_MODULE_RESOLVER: true,
|
|
|
|
LOG_TRANSITIONS: true,
|
|
|
|
LOG_TRANSITIONS_INTERNAL: true,
|
|
|
|
LOG_VIEW_LOOKUPS: true,
|
2014-03-03 21:18:10 +01:00
|
|
|
modulePrefix: 'ghost',
|
2014-02-26 23:45:45 -05:00
|
|
|
Resolver: Resolver['default']
|
2014-02-25 23:58:00 -05:00
|
|
|
});
|
|
|
|
|
2014-03-02 15:12:06 -05:00
|
|
|
initFixtures();
|
2014-03-02 15:30:35 +01:00
|
|
|
|
2014-03-11 17:23:32 +01:00
|
|
|
App.initializer(currentUser);
|
|
|
|
App.initializer(injectCurrentUser);
|
|
|
|
|
|
|
|
export default App;
|