Open haunguyen90 opened 8 years ago
Got the same issue with paths, using "href" now instead
Hi! This is most likely relevant to the changes with iron router found here.
Meteor add ejson
should do the trick :+1:
that did not fix the issue
I do have the same problem, are there any solutions for it?
Anyone?
This is for ionItem, but I ended up making hacky helpers like this:
getThreadDetailPath: function() {
return Router.routes.threadDetail.path({_id: this._id});
}
Then using href in my #each
{{#each threads}}
{{#ionItem href=getThreadDetailPath buttonRight=true avatar=false class="item-icon-right"}}
<h2>{{title}}</h2>
<p>{{createdAt}}</p>
{{> ionIcon icon="ios-arrow-forward" class="positive"}}
{{/ionItem}}
{{/each}}
After upgrading to Meteor 1.2, code like this does not work any more:
{{> ionTab title="History" path="activebets" icon="ios-checkmark"}}
e.g. the href attribute of tag is not rendered