mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 10:03:55 +02:00
Fixing router
This commit is contained in:
parent
5d9c89e600
commit
c663155f3b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ Upload routes
|
||||||
*/
|
*/
|
||||||
Route::middleware(['can.upload'])->group(function() {
|
Route::middleware(['can.upload'])->group(function() {
|
||||||
Route::get('/', [WebController::class, 'homepage'])->name('homepage');
|
Route::get('/', [WebController::class, 'homepage'])->name('homepage');
|
||||||
Route::get('/new', [WebController::class, 'newBundle'])->name('bundle.new');
|
Route::post('/new', [WebController::class, 'newBundle'])->name('bundle.new');
|
||||||
|
|
||||||
Route::prefix('/upload/{bundle}')->controller(UploadController::class)->name('upload.')->group(function() {
|
Route::prefix('/upload/{bundle}')->controller(UploadController::class)->name('upload.')->group(function() {
|
||||||
Route::get('/', 'createBundle')->name('create.show');
|
Route::get('/', 'createBundle')->name('create.show');
|
||||||
|
|
Loading…
Add table
Reference in a new issue