Closed CoryG89 closed 10 years ago
Hey, when I tried to run this it wouldn't run. Its because there is no file for the route.toolReport
in server/router/index.js
. If you're going to reference a route in the router, you need to make sure to add a file for that route or its going to break the build. Basically if you're just wanting to stub a route for this one you would need something like this in server/router/routes/toolReport.js
:
'use strict';
module.exports = {
get: function (req, res) {
res.send(200);
},
failure: function (req, res) {
res.send(200);
}
};
so that routes.toolReport.get
and routes.toolReport.failure
do not return undefined
in the router.
Looks just fine to me, went ahead and merged. Good catch on the missing
<ul>
tags. My bad on that.