Get all incidents, get single incident, transformer for incidents

This commit is contained in:
manavo
2014-11-25 10:30:42 +00:00
parent a1844741bd
commit 683d3f2093
6 changed files with 47 additions and 4 deletions
+2
View File
@@ -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');
});