diff --git a/app/routes/dashboard.php b/app/routes/dashboard.php index b8d32e90..561ad3c9 100644 --- a/app/routes/dashboard.php +++ b/app/routes/dashboard.php @@ -4,6 +4,7 @@ Route::group(['before' => 'auth', 'prefix' => 'dashboard'], function() { Route::get('/', ['as' => 'dashboard', 'uses' => 'DashboardController@showDashboard']); Route::post('/', 'DashboardController@createIncidentAction'); + // TODO: Switch for Route::controller? Route::get('components', ['as' => 'dashboard.components', 'uses' => 'DashboardController@showComponents']); Route::post('components/create', 'DashboardController@createComponentAction'); Route::get('components/{component}/delete', 'DashboardController@deleteComponentAction');