Skip to content

Commit

Permalink
#236 Change route order to make fixStatus available
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jun 14, 2017
1 parent 0bd6c54 commit f591c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thehive-backend/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ GET /api/alert controllers.AlertCtrl.find()
POST /api/alert/_search controllers.AlertCtrl.find()
PATCH /api/alert/_bulk controllers.AlertCtrl.bulkUpdate()
POST /api/alert/_stats controllers.AlertCtrl.stats()
GET /api/alert/_fixStatus controllers.AlertCtrl.fixStatus()
POST /api/alert controllers.AlertCtrl.create()
GET /api/alert/:alertId controllers.AlertCtrl.get(alertId)
PATCH /api/alert/:alertId controllers.AlertCtrl.update(alertId)
Expand All @@ -63,7 +64,6 @@ POST /api/alert/:alertId/markAsUnread controllers.AlertCtrl.markAsUn
POST /api/alert/:alertId/createCase controllers.AlertCtrl.createCase(alertId)
POST /api/alert/:alertId/follow controllers.AlertCtrl.followAlert(alertId)
POST /api/alert/:alertId/unfollow controllers.AlertCtrl.unfollowAlert(alertId)
GET /api/alert/_fixStatus controllers.AlertCtrl.fixStatus()

GET /api/flow controllers.FlowCtrl.flow(rootId: Option[String], count: Option[Int])

Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/components/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<li ui-sref-active="active">
<a href ui-sref="app.alert-list">
Alerts
<span class="badge alert-danger">{{(alertEvents.New.count || 0) + (alertEvents.Update.count || 0)}}</span>
<span class="badge alert-danger">{{(alertEvents.New.count || 0) + (alertEvents.Updated.count || 0)}}</span>
</a>
</li>
<li class="hdivider hidden-xs"></li>
Expand Down

0 comments on commit f591c5c

Please sign in to comment.