+ Welcome {{name}}! +
+ + +
+ Router.route('/', { name: 'dashboard', template: 'dashboard', title: 'Dashboard', data: { name: 'Gandalf' }});
+
+
+ Router.route('/analytics', { name: 'analytics', parent: 'dashboard', template: 'analytics', title: 'Analytics'});
+
+
+ Router.route('/analytics/books', { name: 'analytics.books', parent: 'analytics', template: 'analyticsBooks', title: 'Category Books'});
+
+
+ Router.route('/tags', { name: 'tags', parent: 'dashboard', template: 'tags', title: 'Taglist'});
+
+
+ Router.route('/tag/:_name', { name: 'tag', parent: 'tags', template: 'tagDetail', title: 'Detailpage for :_name', data: function() { return this.params; },});
+
+
+ // default values for the breadcrumb // package are stored in the router configuration object as wellRouter.configure({ defaultBreadcrumbTitle: 'My Default Title'});
+
+
+ Router.route('/function-title/:_someparam', { name: 'function.title', parent: 'dashboard', template: 'functiontitle', data: { firstname: 'Gandalf', lastname: 'the Grey' }, title: function() { var data = this.data(); console.log('Our data object for this route:'); console.log(data); console.log(''); console.log('all given parameters for this route:'); console.log(this.params); return 'Dynamic Title for ' + data.firstname + ' for route details: ' + this.params['_someparam']; }});
+
+