Skip to content

Instantly share code, notes, and snippets.

@mockra
Created January 19, 2014 23:25
Show Gist options
  • Select an option

  • Save mockra/8512388 to your computer and use it in GitHub Desktop.

Select an option

Save mockra/8512388 to your computer and use it in GitHub Desktop.
App.ApplicationRoute = Ember.Route.extend(Ember.SimpleAuth.ApplicationRouteMixin);
App.Router.map(function() {
this.resource('todos', { path: '/' }, function() {
this.route('active');
this.route('completed');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment