event deleting

This commit is contained in:
Kyle Drake 2014-05-02 17:44:31 -07:00
parent 6277a94a5b
commit a4a2b5165b
14 changed files with 105 additions and 31 deletions

View file

@ -0,0 +1,7 @@
var Event = {
delete: function(eventId, csrfToken) {
$.post('/event/'+eventId+'/delete', {csrf_token: csrfToken}, function(res) {
location.reload()
})
}
}

File diff suppressed because one or more lines are too long