Skip to content

Instantly share code, notes, and snippets.

@marcioj
Created February 22, 2015 19:08
Show Gist options
  • Select an option

  • Save marcioj/8aec1d2e30a7d20a7833 to your computer and use it in GitHub Desktop.

Select an option

Save marcioj/8aec1d2e30a7d20a7833 to your computer and use it in GitHub Desktop.
App.IndexRoute = Ember.Route.extend({
beforeModel: function() {
console.log("beforeModel");
},
model: function() {
console.log("model")
},
afterModel: function() {
console.log("afterModel");
},
activate: function() {
console.log("activate");
},
setupController: function() {
console.log("setupController");
},
renderTemplate: function() {
console.log("renderTemplate");
},
resetController: function() {
console.log("resetController");
},
deactivate: function() {
console.log("deactivate");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment