Hello, In my app, there are currently three routes (like myDesign, setting, help). when I login (using accounts-ui), myDesign route is working but
when I go to setting or help route, and then refresh a page, again myDesign route is rendered .
Here is the code sample I am using when an user login successfully (via
accounts-ui) …
if(Meteor.isClient){ Accounts.onLogin(function(){ FlowRouter.go('myDesign'); }); } FlowRouter.route('/myDesign', { name: 'myDesign', action() { mount(Home, { main: , }); } });
what I want is that, when I refresh a page only that page is render. For example When I refresh a page rendered on help route, then only help route page should be rendered not page at myDesign route.
Any clue or solution for this issue ? Answers are greatly appreciated.
Thanks.