--- title: Ember.js layout: default --- ### Routes App.Router.map(function() { this.resource('trips', function() { this.route('item', { path: '/:trip_id' }); }); this.route('upcoming'); this.route('about', { path: '/about' }); this.route('schedules'); this.route('history'); this.route('post'); }); ### A route App.IndexRoute = Ember.Route.extend({ setupController: function(controller) { controller.set('title', 'my app'); //