AuburnBigEvent / BigEvent

Auburn University SGA Big Event application designed for COMP 4710 senior design project.
MIT License
0 stars 2 forks source link

Simplifying and fixing bugs in html, changing routes for staff #20

Closed CoryG89 closed 10 years ago

CoryG89 commented 10 years ago

Looks just fine to me, went ahead and merged. Good catch on the missing <ul> tags. My bad on that.

CoryG89 commented 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.