Hey guys I’m doing a tutorial on extending the users class,
Link to the tutorial
In every path I try, i always get a blank page, and i’m not understanding why.
Any help would be appreciated.
This is my routes.js file:
FlowRouter.route('/', {
name: 'home',
action: function() {
BlazeLayout.render("mainLayout", {
content: "home"
});
}
});
FlowRouter.route('/login', {
name: 'login',
action: function() {
BlazeLayout.render("mainLayout", {
content: "login"
});
}
});
FlowRouter.route('/register', {
name: 'register',
action: function() {
BlazeLayout.render("mainLayout", {
content: "register"
});
}
});