add end button to views

This commit is contained in:
Zachary Chai
2016-11-04 18:28:52 -04:00
parent e11098c7a9
commit b8c876443f
6 changed files with 53 additions and 3 deletions

View File

@ -36,6 +36,13 @@ class Meeting {
});
};
endMeeting() {
return $.ajax({
url: this.url + "/end",
type: 'DELETE'
});
}
setURL(url) {
this.url = url;
}