We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no View for "todo" in option1, maybe you forgot to push something! =)
The text was updated successfully, but these errors were encountered:
There are views in there, they're just inlined rather than using anything dynamic to process them.
Sorry, something went wrong.
In app.js of option 1, the following lines:
app.get('/todo', function(req, res){ res.render('todo', {title: "MongoDB Backed TODO App"}); });
Should be replaced with something like:
app.get('/todo', function(req, res){ res.sendfile(__dirname + '/public/static.html'); });
Because no todo view is defined.
Is it right?
No branches or pull requests
There's no View for "todo" in option1, maybe you forgot to push something! =)
The text was updated successfully, but these errors were encountered: