Skip to content

Instantly share code, notes, and snippets.

View ringular's full-sized avatar

Ritesh Angural ringular

View GitHub Profile
@ivanvanderbyl
ivanvanderbyl / account_routes.js
Last active January 31, 2016 17:55
Using Ember initializers and injections to setup the `currentUser` within your app.
App.AccountEditRoute = Ember.Route.extend({
setupController: function(controller) {
controller.set('content', this.get('currentUser'));
}
});