meteor - How do redirect to the Sign Up Page in Accounts Entry -
when open /overview page redirects me notfound template. problem is, know site exists. want is, site redirect signin page instead of sitenotfound page.
router.map(function () { this.route('overview', { path : '', controller : overviewcontroller, // signed in user can use captainkanban before: accountsentry.signinrequired(this) }); });
i tried this
router.configure({ notfoundtemplate: 'entrysignin' });
this redirect me signin page when go /overview when go page doesn't exist.
oh , sorry bad english :( hope understand mean.
your router configuration overview route incorrect.
try this
router.map(function () { this.route('overview', { path : '/overview', controller : overviewcontroller, // signed in user can use captainkanban before: accountsentry.signinrequired(this) }); });
and remove line
notfoundtemplate: 'entrysignin'
Comments
Post a Comment