feat(alerting): enables deletes for alert notifications

This commit is contained in:
bergquist
2016-06-16 15:21:44 +02:00
parent 149c2ae913
commit b907ce341c
7 changed files with 64 additions and 11 deletions
+1
View File
@@ -257,6 +257,7 @@ func Register(r *macaron.Macaron) {
r.Post("/", bind(m.CreateAlertNotificationCommand{}), wrap(CreateAlertNotification))
r.Put("/:notificationId", bind(m.UpdateAlertNotificationCommand{}), wrap(UpdateAlertNotification))
r.Get("/:notificationId", wrap(GetAlertNotificationById))
r.Delete("/:notificationId", wrap(DeleteAlertNotification))
})
r.Get("/changes", wrap(GetAlertChanges))