You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB

4 years ago
4 years ago
4 years ago
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | contains the "web" middleware group. Now create something great!
  11. |
  12. */
  13. Route::get('/', 'App\Http\Controllers\HomeController@show');
  14. Route::prefix('bucket')->group(function() {
  15. Route::get('create', 'App\Http\Controllers\BucketController@create');
  16. Route::post('create', 'App\Http\Controllers\BucketController@create');
  17. });
  18. /***
  19. Route::post('/login', 'App\Http\Controllers\AuthController@login');
  20. Route::get('/logout', 'App\Http\Controllers\AuthController@logout');
  21. Route::group('/hub', function() {
  22. Route::get('/{uuid}/options', 'App\Http\Controllers\Hub\OptionsController@show');
  23. Route::get('/{uuid}/user', 'App\Http\Controllers\Hub\UserController@show');
  24. Route::get('/{uuid}', 'App\Http\Controllers\Hub\Controller@show');
  25. });
  26. Route::group('/system', function() {
  27. Route::get('/user', 'App\Http\Controllers\System\UserController@show');
  28. Route::get('/options', 'App\Http\Controllers\System\OptionsController@show');
  29. });