Open nsafai opened 6 years ago
I think this line is missing in the provided solution, under Comments Controller new Action
new
const commentsRouter = require('./comments');
The above belongs at the top of routes/posts.js if I'm not mistaken.
routes/posts.js
Also, "points" show up out of nowhere in some of the provided solutions and this breaks unless it gets commented out.
I think this line is missing in the provided solution, under Comments Controller
new
Actionconst commentsRouter = require('./comments');
The above belongs at the top of
routes/posts.js
if I'm not mistaken.Also, "points" show up out of nowhere in some of the provided solutions and this breaks unless it gets commented out.