Skip to content

Commit

Permalink
adjust model require
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepmunroe committed Mar 6, 2014
1 parent 5139a22 commit 79911e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -27,7 +27,7 @@ app.configure(function(){
app.use(express.static(__dirname));
});

var wods = require('./routes/wods');
var wods = require(__dirname + '/routes/wods');
app.get('/crossfitwicked/wods', wods.findAll);
app.get('/crossfitwicked/wods/:id', wods.findById);

Expand Down

0 comments on commit 79911e5

Please sign in to comment.