Create an incident updates overview page

This commit is contained in:
Nico Stapelbroek
2018-01-13 15:34:26 +01:00
parent 42fd84ea79
commit 532d8a20c5
6 changed files with 79 additions and 7 deletions
+7 -3
View File
@@ -71,10 +71,14 @@ class IncidentRoutes
$router->get('{incident}/updates', [
'as' => 'get:dashboard.incidents.updates',
'uses' => 'IncidentController@showIncidentUpdateAction',
'uses' => 'IncidentController@showIncidentUpdates',
]);
$router->post('{incident}/updates', [
'as' => 'post:dashboard.incidents.updates',
$router->get('{incident}/updates/create', [
'as' => 'get:dashboard.incidents.updates.create',
'uses' => 'IncidentController@showCreateIncidentUpdateAction',
]);
$router->post('{incident}/updates/create', [
'as' => 'post:dashboard.incidents.updates.create',
'uses' => 'IncidentController@createIncidentUpdateAction',
]);
});