Uses the router service for redirecting instead of `this.transitionTo`. Also removes the first branch of logic, which was unnecessarily redirecting to the current route (and led to an infinite loop with the modern API) |
||
|---|---|---|
| .. | ||
| javascripts/discourse | ||
| stylesheets | ||