emberjs/ember.js — pull request #3453 by mixonic (2013-09-20 21:05:55+00:00)
Title: Update router.js to bc22bb4d5 For didTransition

Update the router.js for https://github.com/tildeio/router.js/pull/52

Allows:

```JavaScript
App.ApplicationRoute = Ember.Route.extend({
actions: {
didTransition: function(){
var router = this.router;
Ember.run.once(function(){
// Track this pageview with Google analytics
_gaq.push(['_trackPageview', router.get('url')]);
});
}
}
});

App.LeafyRoute = Ember.Route.extend({
actions: {
didTransition: function(){
// Just to give an idea, I have not done this.
this.controllerFor('breadcrumbs').send('addCrumb', 'leafy');
return true; // Bubble to track analytics
}
}
});
```