Title / Description
Code Customerio.Router = Ember.Router.extend({ location: 'history', enableLogging: false, root: Ember.Route.extend({ app: Ember.Route.extend({ route: '/', connectOutlets: function(router, context) { router.get('applicationController').connectOutlet('sidebar', 'sidebar'); }, emails: Em.Route.extend({ route: '/emails', index: Em.Route.extend({ route: '/', connectOutlets: function(router, context) { router.get('applicationController').connectOutlet("emails", Customerio.Email.find()); } }), show: Ember.Route.extend({ route: "/:email_id", connectOutlets: function(router, email) { router.get('applicationController').connectOutlet("email", email); } }) }) }) }) });
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code