0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 00:03:15 +00:00

Creating the initial frameowkr for a new tool

This commit is contained in:
Scott Tolksdorf
2016-05-14 18:17:04 -04:00
parent 5f55a59042
commit 92e110ba15
8 changed files with 99 additions and 9 deletions

View File

@@ -7,15 +7,6 @@ var HomebrewModel = require('./homebrew.model.js').model;
module.exports = function(app){
/*
app.get('/homebrew/new', function(req, res){
var newHomebrew = new HomebrewModel();
newHomebrew.save(function(err, obj){
return res.redirect('/homebrew/edit/' + obj.editId);
})
})
*/
//Edit Page
app.get('/homebrew/edit/:id', function(req, res){