This is my code
Template.contactus.events({
'submit #contactForm': function (e, t) {
e.preventDefault();
// Session.set('toAddr', "myEmail");
// Session.set('subject', t.find('#subject').value);
// Session.set('fromAddr', t.find('#email').value);
// Session.set('content', t.find('#message').value);
// Metoer.call('sendEmailF', Session.get('toAddr'), Session.get('fromAddr'), Session.get('subject'), Session.get('content'));
Router.go('/aboutus');
}
});
I commented out the code to test the Router.go() function, and all what it does is refreshing the current page instead of directing me to aboutus page.
What am I doing wrong here?
