export default {
    name: 'app.session',

    initialize(container, application) {
        application.inject('controller', 'session', 'service:session');
        application.inject('route', 'session', 'service:session');
    }
};

export default {
    name: 'app.session',

    initialize(application) {
        application.inject('controller', 'session', 'service:session');
        application.inject('route', 'session', 'service:session');
    }
};

Fix a deprecation warning about `initialize` arguments
Fix a deprecation warning about `initialize` arguments

This shows up in the browser console. Fixed as suggested at:
http://emberjs.com/deprecations/v2.x/#toc_initializer-arity
