Get all incidents, get single incident, transformer for incidents
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
Route::get('components', 'ApiController@getComponents');
|
||||
Route::get('components/{id}', 'ApiController@getComponent');
|
||||
Route::get('components/{id}/incidents', 'ApiController@getComponentIncidents');
|
||||
Route::get('incidents', 'ApiController@getIncidents');
|
||||
Route::get('incidents/{id}', 'ApiController@getIncident');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user