Skip to content

Instantly share code, notes, and snippets.

@nathan-muir
Forked from dearlordylord/routes.js
Created February 17, 2016 02:06
Show Gist options
  • Save nathan-muir/c79ec2e7a730cb688954 to your computer and use it in GitHub Desktop.
Save nathan-muir/c79ec2e7a730cb688954 to your computer and use it in GitHub Desktop.
Iron Router error
var A = RouteController.extend({
onBeforeAction: function() {
console.warn('A');
this.next();
}
});
var B = A.extend({
onBeforeAction: function() {
console.warn('B');
this.next();
}
});
Router.route('extendTest', {
controller: B
});
Router.go('extendTest');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment