{"action":"created","issue":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/226","labels_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/226/comments","events_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/226/events","html_url":"https://github.com/meteoric/meteor-ionic/issues/226","id":91064917,"number":226,"title":"Can't get list item to link","user":{"login":"t3db0t","id":203307,"avatar_url":"https://avatars.githubusercontent.com/u/203307?v=3","gravatar_id":"","url":"https://api.github.com/users/t3db0t","html_url":"https://github.com/t3db0t","followers_url":"https://api.github.com/users/t3db0t/followers","following_url":"https://api.github.com/users/t3db0t/following{/other_user}","gists_url":"https://api.github.com/users/t3db0t/gists{/gist_id}","starred_url":"https://api.github.com/users/t3db0t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t3db0t/subscriptions","organizations_url":"https://api.github.com/users/t3db0t/orgs","repos_url":"https://api.github.com/users/t3db0t/repos","events_url":"https://api.github.com/users/t3db0t/events{/privacy}","received_events_url":"https://api.github.com/users/t3db0t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-25T20:17:00Z","updated_at":"2015-06-26T21:32:44Z","closed_at":null,"body":"In the Contacts example, the `ionItem` line is just:\r\n`{{#ionItem path=\"contacts.show\" buttonRight=true avatar=true class=\"item-icon-right\"}}`\r\nAnd it generates the list items with the _id appended to the path.  I want to do the same thing, but copying this format isn't working for me—what else is needed?  Everything renders correctly, but the listItems are not links.\r\n\r\nHere's what I've got:\r\n\r\nlib/router.js\r\n```\r\nRouter.map(function() {\r\n  this.route('home', {path: '/', layoutTemplate: 'tabsLayout'});\r\n  this.route('star', {path: '/star', layoutTemplate: 'tabsLayout'});\r\n  this.route('heart', {path: '/heart', layoutTemplate: 'tabsLayout'});\r\n  this.route('gear', {path: '/gear', layoutTemplate: 'tabsLayout'});\r\n  this.route('star.detail', {path:'/star/:id', layoutTemplate: 'tabsLayout'});\r\n});\r\n```\r\n\r\nclient/star.html\r\n```\r\n<template name=\"star\">\r\n  {{#ionView}}\r\n\r\n    {{#ionContent class=\"padding\"}}\r\n    \t{{#contentFor \"headerTitle\"}}\r\n\t\t  <h1 class=\"title\">Star</h1>\r\n\t\t{{/contentFor}}\r\n\r\n    \t{{#ionList}}\r\n\t        {{#each listItems}}\r\n\t          {{#ionItem path=\"star.detail\" buttonRight=true class=\"item-icon-right\"}}\r\n\t          \t<h2>{{title}}</h2>\r\n\t            <p>{{_id}}</p>\r\n\t            {{> ionIcon icon=\"ios-arrow-right\"}}\r\n\t          {{/ionItem}}\r\n\t        {{/each}}\r\n\t    {{/ionList}}\r\n    {{/ionContent}}\r\n\r\n    {{> _tabs}}\r\n  {{/ionView}}\r\n</template>\r\n\r\n<template name=\"starDetail\">\r\n\t<h1>Star Details</h1>\r\n</template>\r\n```\r\n\r\nclient/base.html\r\n```\r\n<template name=\"tabsLayout\">\r\n\t{{#ionBody}}\r\n\t\t{{> ionNavBar class=\"bar-positive\"}}\r\n\r\n\t\t{{#ionNavView}}\r\n\t\t\t{{> yield}}\r\n\r\n\t\t{{/ionNavView}}\r\n\t\t{{> _tabs}}\r\n\t{{/ionBody}}\r\n</template>\r\n\r\n<template name=\"_tabs\">\r\n  {{#if isAndroid}}\r\n    {{#ionTabs style=\"android\" class=\"tabs-background-positive tabs-color-light\"}}\r\n      {{> ionTab title=\"Home\" path=\"home\" icon=\"android-home\"}}\r\n      {{> ionTab title=\"Star\" path=\"star\" icon=\"android-star\"}}\r\n      {{> ionTab title=\"Heart\" path=\"heart\" icon=\"heart\"}}\r\n      {{> ionTab title=\"Gear\" path=\"gear\" icon=\"gear-b\"}}\r\n    {{/ionTabs}}\r\n  {{else}}\r\n    {{#ionTabs style=\"ios\" class=\"tabs-background-positive tabs-color-light\"}}\r\n      {{> ionTab title=\"Home\" path=\"home\" iconOff=\"ios-home-outline\" iconOn=\"ios-home\"}}\r\n      {{> ionTab title=\"Star\" path=\"star\" iconOff=\"ios-star-outline\" iconOn=\"ios-star\"}}\r\n      {{> ionTab title=\"Heart\" path=\"heart\" iconOff=\"ios-heart-outline\" iconOn=\"ios-heart\"}}\r\n      {{> ionTab title=\"Gear\" path=\"gear\" iconOff=\"ios-gear-outline\" iconOn=\"ios-gear\"}}\r\n    {{/ionTabs}}\r\n  {{/if}}\r\n</template>\r\n```"},"comment":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/comments/115893211","html_url":"https://github.com/meteoric/meteor-ionic/issues/226#issuecomment-115893211","issue_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/226","id":115893211,"user":{"login":"nickw","id":3907,"avatar_url":"https://avatars.githubusercontent.com/u/3907?v=3","gravatar_id":"","url":"https://api.github.com/users/nickw","html_url":"https://github.com/nickw","followers_url":"https://api.github.com/users/nickw/followers","following_url":"https://api.github.com/users/nickw/following{/other_user}","gists_url":"https://api.github.com/users/nickw/gists{/gist_id}","starred_url":"https://api.github.com/users/nickw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickw/subscriptions","organizations_url":"https://api.github.com/users/nickw/orgs","repos_url":"https://api.github.com/users/nickw/repos","events_url":"https://api.github.com/users/nickw/events{/privacy}","received_events_url":"https://api.github.com/users/nickw/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T21:32:44Z","updated_at":"2015-06-26T21:32:44Z","body":"It's probably something to do with the way `iron:router` generates routes. What are the `listItems` objects exactly? Check out: https://github.com/iron-meteor/iron-router/blob/devel/Guide.md#path-and-link-template-helpers"}}