Base node route implementation

This commit is contained in:
Dane Everitt 2017-04-09 13:52:31 -04:00
parent 75b8753533
commit f24b238e30
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 91 additions and 3 deletions

View file

@ -62,3 +62,16 @@ Route::group(['prefix' => '/servers'], function () {
Route::group(['prefix' => '/locations'], function () {
Route::get('/', 'LocationController@index');
});
/*
|--------------------------------------------------------------------------
| Node Controller Routes
|--------------------------------------------------------------------------
|
| Endpoint: /api/admin/nodes
|
*/
Route::group(['prefix' => '/nodes'], function () {
Route::get('/', 'NodeController@index');
Route::get('/{id}', 'NodeController@view');
});