Create incidents from the dashboard index

This commit is contained in:
James Brooks
2014-12-13 12:22:06 +00:00
parent c124f193aa
commit f68383427a
5 changed files with 98 additions and 8 deletions
+2
View File
@@ -2,6 +2,8 @@
Route::group(['before' => 'auth', 'prefix' => 'dashboard'], function() {
Route::get('/', ['as' => 'dashboard', 'uses' => 'DashboardController@showDashboard']);
Route::post('/', 'DashboardController@createIncidentAction');
Route::get('components', ['as' => 'dashboard.components', 'uses' => 'DashboardController@showComponents']);
Route::get('incidents', ['as' => 'dashboard.incidents', 'uses' => 'DashboardController@showIncidents']);
Route::get('metrics', ['as' => 'dashboard.metrics', 'uses' => 'DashboardController@showMetrics']);