API for returning incidents on a component, including incident_count

This commit is contained in:
James Brooks
2014-11-25 09:40:54 +00:00
parent 3ba9db5d24
commit f9ceb70e50
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -4,5 +4,6 @@
Route::get('components', 'ApiController@getComponents');
Route::get('components/{id}', 'ApiController@getComponent');
Route::get('components/{id}/incidents', 'ApiController@getComponentIncidents');
});