I'm using Iron Router for my Meteor routing. I have an app layout that looks something like:
<template name="appLayout">
{{> menu}}
{{> yield}}
{{> footer}}
</template>
Whenever I use the template helper <a href="{{pathFor route='profileView' id=user._id}}"></a> in my menu template, the entire app doesn't refresh or reload, it loads the template fine, we're good. It seems the issue arises when a pathFor is clicked in a template that's been loaded within the yield. How can I prevent the app from refreshing or reloading when trying to load these other templates? Why is it happening just from templates that are loading within the yield?
ahtml tag and will call on the server to serve the page. - MrE