|
|
- <?php
-
- use Illuminate\Support\Facades\Route;
-
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
-
- Route::get('/', 'App\Http\Controllers\HomeController@show');
-
- Route::prefix('bucket')->group(function() {
- Route::get('create', 'App\Http\Controllers\BucketController@create');
- Route::post('create', 'App\Http\Controllers\BucketController@store');
-
- Route::get('{uuid}', 'App\Http\Controllers\BucketController@get')->name('bucket.get');
- });
-
- /***
- Route::post('/login', 'App\Http\Controllers\AuthController@login');
- Route::get('/logout', 'App\Http\Controllers\AuthController@logout');
-
- Route::group('/hub', function() {
- Route::get('/{uuid}/options', 'App\Http\Controllers\Hub\OptionsController@show');
- Route::get('/{uuid}/user', 'App\Http\Controllers\Hub\UserController@show');
- Route::get('/{uuid}', 'App\Http\Controllers\Hub\Controller@show');
- });
-
- Route::group('/system', function() {
- Route::get('/user', 'App\Http\Controllers\System\UserController@show');
- Route::get('/options', 'App\Http\Controllers\System\OptionsController@show');
- });
|