Create components from the dashboard

This commit is contained in:
James Brooks
2014-12-13 12:43:11 +00:00
parent 5853aa3f94
commit 5420ff91f7
5 changed files with 30 additions and 11 deletions
+2
View File
@@ -5,6 +5,8 @@ Route::group(['before' => 'auth', 'prefix' => 'dashboard'], function() {
Route::post('/', 'DashboardController@createIncidentAction');
Route::get('components', ['as' => 'dashboard.components', 'uses' => 'DashboardController@showComponents']);
Route::post('components/create', 'DashboardController@createComponentAction');
Route::get('incidents', ['as' => 'dashboard.incidents', 'uses' => 'DashboardController@showIncidents']);
Route::get('metrics', ['as' => 'dashboard.metrics', 'uses' => 'DashboardController@showMetrics']);
Route::get('notifications', ['as' => 'dashboard.notifications', 'uses' => 'DashboardController@showNotifications']);