mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-29 00:36:22 +02:00
Update
- updated styles - added edit functionality
This commit is contained in:
parent
2630cc237a
commit
b72dfc474e
21 changed files with 136 additions and 52 deletions
|
@ -18,6 +18,12 @@ exports.show = function(req, res, next){
|
|||
});
|
||||
}
|
||||
|
||||
exports.update = function(req, res){
|
||||
Event.update({ '_id' : req.params.id }, req.body, function(){
|
||||
return res.status(204).end();
|
||||
});
|
||||
}
|
||||
|
||||
exports.createParticipant = function(req, res, next){
|
||||
var eventId = req.params.id;
|
||||
var participant = req.body;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue