Skip to content

Commit

Permalink
oopsie poopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1DEA committed Sep 11, 2023
1 parent 29e4d72 commit 8bea9a1
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@
Route::get('/search', [SearchController::class, 'index'])->name('search')->middleware(['auth', 'verified']);

Route::get('/download/{id}', [\App\Http\Controllers\DownloadController::class, '__invoke'])->name('download');
Route::get('/upload', function (Request $request) {

})->middleware(['auth']);
//Route::get('/upload', function (Request $request) {})->middleware(['auth']);

Route::group(['prefix' => '/system', 'middleware' => ['auth', 'verified', 'password.confirm', 'role:admin']], function () {
Route::get('/', [AdminController::class, 'show'])->name('system.home');
Expand Down Expand Up @@ -103,8 +101,8 @@
return page('Groups/Index');
});

Route::get('/profiles', [ProfileController::class, 'index'])->name('users.index');
Route::get('/profile/{profile:name}', [ProfileController::class, 'show'])->name('users.show');
//Route::get('/profiles', [ProfileController::class, 'index'])->name('users.index');
//Route::get('/profile/{profile:name}', [ProfileController::class, 'show'])->name('users.show');

Route::get('/users', [UserController::class, 'index'])->name('users.index');
Route::get('/user/{user:id}', [UserController::class, 'show'])->name('users.show');
Expand All @@ -114,14 +112,14 @@
Route::get('/user/{id}/reviews', [ReputationLogController::class, 'index'])->name('user.reviews.show');
Route::post('/user/{id}/comments', [ProfileCommentController::class, 'store'])->name('user.comments.store')->middleware(['auth', 'verified', 'throttle:10,10']);

Route::inertia('/tools/inspector', 'Tools/Inspector', [
'__meta_breadcrumbs' => [
[
'text' => 'Save Inspector',
'url' => '/tools/inspector'
]
]
])->name('tools.inspector');
//Route::inertia('/tools/inspector', 'Tools/Inspector', [
// '__meta_breadcrumbs' => [
// [
// 'text' => 'Save Inspector',
// 'url' => '/tools/inspector'
// ]
// ]
//])->name('tools.inspector');

Route::get('/forums', [ForumController::class, 'index'])->name('forums.index');
Route::get('/forum/{forum}', [ForumController::class, 'show'])->name('forums.show');
Expand Down

0 comments on commit 8bea9a1

Please sign in to comment.