{"action":"created","comment":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/23089188","id":23089188,"diff_hunk":"@@ -45,8 +45,34 @@ Template.ionItem.helpers({\n       return this.href;\n     }\n \n-    if (this.path) {\n-      return Router.routes[this.path].path(Template.parentData(1));\n+    if ( this.path || this.route ) {\n+      var path;\n+\n+      if(this.route){\n+        path = this.route;\n+      } else {\n+        path = this.path;\n+      }\n+      console.log(this);\n+      console.log(path);","path":"components/ionItem/ionItem.js","position":24,"original_position":24,"commit_id":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","original_commit_id":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","user":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"body":"oops haha","created_at":"2015-01-16T16:07:18Z","updated_at":"2015-01-16T16:07:18Z","html_url":"https://github.com/meteoric/meteor-ionic/pull/26#discussion_r23089188","pull_request_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/23089188"},"html":{"href":"https://github.com/meteoric/meteor-ionic/pull/26#discussion_r23089188"},"pull_request":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26","id":27476372,"html_url":"https://github.com/meteoric/meteor-ionic/pull/26","diff_url":"https://github.com/meteoric/meteor-ionic/pull/26.diff","patch_url":"https://github.com/meteoric/meteor-ionic/pull/26.patch","issue_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26","number":26,"state":"open","locked":false,"title":"Added pathFor and urlFor IR route options to ionItem, resolves #25","user":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-16T00:51:52Z","updated_at":"2015-01-16T16:07:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c22c46a88feb4d5bbcd90cb656bdac444e365799","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/commits","review_comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/comments","review_comment_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/{number}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26/comments","statuses_url":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","head":{"label":"benstr:master","ref":"master","sha":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","user":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"repo":{"id":28939082,"name":"meteor-ionic","full_name":"benstr/meteor-ionic","owner":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benstr/meteor-ionic","description":"Ionic components for Meteor. No Angular!","fork":true,"url":"https://api.github.com/repos/benstr/meteor-ionic","forks_url":"https://api.github.com/repos/benstr/meteor-ionic/forks","keys_url":"https://api.github.com/repos/benstr/meteor-ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benstr/meteor-ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benstr/meteor-ionic/teams","hooks_url":"https://api.github.com/repos/benstr/meteor-ionic/hooks","issue_events_url":"https://api.github.com/repos/benstr/meteor-ionic/issues/events{/number}","events_url":"https://api.github.com/repos/benstr/meteor-ionic/events","assignees_url":"https://api.github.com/repos/benstr/meteor-ionic/assignees{/user}","branches_url":"https://api.github.com/repos/benstr/meteor-ionic/branches{/branch}","tags_url":"https://api.github.com/repos/benstr/meteor-ionic/tags","blobs_url":"https://api.github.com/repos/benstr/meteor-ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benstr/meteor-ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benstr/meteor-ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/benstr/meteor-ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benstr/meteor-ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/benstr/meteor-ionic/languages","stargazers_url":"https://api.github.com/repos/benstr/meteor-ionic/stargazers","contributors_url":"https://api.github.com/repos/benstr/meteor-ionic/contributors","subscribers_url":"https://api.github.com/repos/benstr/meteor-ionic/subscribers","subscription_url":"https://api.github.com/repos/benstr/meteor-ionic/subscription","commits_url":"https://api.github.com/repos/benstr/meteor-ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/benstr/meteor-ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/benstr/meteor-ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/benstr/meteor-ionic/issues/comments/{number}","contents_url":"https://api.github.com/repos/benstr/meteor-ionic/contents/{+path}","compare_url":"https://api.github.com/repos/benstr/meteor-ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benstr/meteor-ionic/merges","archive_url":"https://api.github.com/repos/benstr/meteor-ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benstr/meteor-ionic/downloads","issues_url":"https://api.github.com/repos/benstr/meteor-ionic/issues{/number}","pulls_url":"https://api.github.com/repos/benstr/meteor-ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/benstr/meteor-ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/benstr/meteor-ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benstr/meteor-ionic/labels{/name}","releases_url":"https://api.github.com/repos/benstr/meteor-ionic/releases{/id}","created_at":"2015-01-07T23:22:15Z","updated_at":"2015-01-16T15:58:04Z","pushed_at":"2015-01-16T15:58:04Z","git_url":"git://github.com/benstr/meteor-ionic.git","ssh_url":"git@github.com:benstr/meteor-ionic.git","clone_url":"https://github.com/benstr/meteor-ionic.git","svn_url":"https://github.com/benstr/meteor-ionic","homepage":"http://meteoric.github.io","size":382,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"meteoric:master","ref":"master","sha":"86b616ed62869bed9261732cbdc621af4124f364","user":{"login":"meteoric","id":10181524,"avatar_url":"https://avatars.githubusercontent.com/u/10181524?v=3","gravatar_id":"","url":"https://api.github.com/users/meteoric","html_url":"https://github.com/meteoric","followers_url":"https://api.github.com/users/meteoric/followers","following_url":"https://api.github.com/users/meteoric/following{/other_user}","gists_url":"https://api.github.com/users/meteoric/gists{/gist_id}","starred_url":"https://api.github.com/users/meteoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteoric/subscriptions","organizations_url":"https://api.github.com/users/meteoric/orgs","repos_url":"https://api.github.com/users/meteoric/repos","events_url":"https://api.github.com/users/meteoric/events{/privacy}","received_events_url":"https://api.github.com/users/meteoric/received_events","type":"Organization","site_admin":false},"repo":{"id":28011613,"name":"meteor-ionic","full_name":"meteoric/meteor-ionic","owner":{"login":"meteoric","id":10181524,"avatar_url":"https://avatars.githubusercontent.com/u/10181524?v=3","gravatar_id":"","url":"https://api.github.com/users/meteoric","html_url":"https://github.com/meteoric","followers_url":"https://api.github.com/users/meteoric/followers","following_url":"https://api.github.com/users/meteoric/following{/other_user}","gists_url":"https://api.github.com/users/meteoric/gists{/gist_id}","starred_url":"https://api.github.com/users/meteoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteoric/subscriptions","organizations_url":"https://api.github.com/users/meteoric/orgs","repos_url":"https://api.github.com/users/meteoric/repos","events_url":"https://api.github.com/users/meteoric/events{/privacy}","received_events_url":"https://api.github.com/users/meteoric/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meteoric/meteor-ionic","description":"Ionic components for Meteor. No Angular!","fork":false,"url":"https://api.github.com/repos/meteoric/meteor-ionic","forks_url":"https://api.github.com/repos/meteoric/meteor-ionic/forks","keys_url":"https://api.github.com/repos/meteoric/meteor-ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meteoric/meteor-ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meteoric/meteor-ionic/teams","hooks_url":"https://api.github.com/repos/meteoric/meteor-ionic/hooks","issue_events_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/events{/number}","events_url":"https://api.github.com/repos/meteoric/meteor-ionic/events","assignees_url":"https://api.github.com/repos/meteoric/meteor-ionic/assignees{/user}","branches_url":"https://api.github.com/repos/meteoric/meteor-ionic/branches{/branch}","tags_url":"https://api.github.com/repos/meteoric/meteor-ionic/tags","blobs_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/meteoric/meteor-ionic/languages","stargazers_url":"https://api.github.com/repos/meteoric/meteor-ionic/stargazers","contributors_url":"https://api.github.com/repos/meteoric/meteor-ionic/contributors","subscribers_url":"https://api.github.com/repos/meteoric/meteor-ionic/subscribers","subscription_url":"https://api.github.com/repos/meteoric/meteor-ionic/subscription","commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/comments/{number}","contents_url":"https://api.github.com/repos/meteoric/meteor-ionic/contents/{+path}","compare_url":"https://api.github.com/repos/meteoric/meteor-ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meteoric/meteor-ionic/merges","archive_url":"https://api.github.com/repos/meteoric/meteor-ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meteoric/meteor-ionic/downloads","issues_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues{/number}","pulls_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/meteoric/meteor-ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/meteoric/meteor-ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meteoric/meteor-ionic/labels{/name}","releases_url":"https://api.github.com/repos/meteoric/meteor-ionic/releases{/id}","created_at":"2014-12-14T23:13:54Z","updated_at":"2015-01-16T12:55:50Z","pushed_at":"2015-01-15T16:29:18Z","git_url":"git://github.com/meteoric/meteor-ionic.git","ssh_url":"git@github.com:meteoric/meteor-ionic.git","clone_url":"https://github.com/meteoric/meteor-ionic.git","svn_url":"https://github.com/meteoric/meteor-ionic","homepage":"http://meteoric.github.io","size":419,"stargazers_count":302,"watchers_count":302,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":20,"forks":14,"open_issues":20,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26"},"html":{"href":"https://github.com/meteoric/meteor-ionic/pull/26"},"issue":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26"},"comments":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb"}}}}