This commit is contained in:
2025-02-16 21:11:07 +02:00
parent 87bbfc33d3
commit e8d7e6a1c4
253 changed files with 3879 additions and 72 deletions
+13 -1
View File
@@ -10,10 +10,11 @@ Auth::routes();
Route::get('/', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::prefix('movies')->group(function () {
Route::get('/', [\App\Http\Controllers\MovieController::class, 'index'])->name('movie.index');
Route::get('/{slug}', [\App\Http\Controllers\MovieController::class, 'show'])->name('movie.show');
Route::post('/{slug}/store-comment', [\App\Http\Controllers\MovieController::class, 'storeComment'])->name('movie.comment.store');
});
Route::prefix('shows')->group(function () {
@@ -30,6 +31,17 @@ Route::prefix('forums')->group(function () {
Route::get('/', [\App\Http\Controllers\Forum\CategoriesController::class, 'index'])->name('forums.index');
Route::get('/{categorySlug}/{threadSlug}', [\App\Http\Controllers\Forum\ThreadsController::class, 'show'])->name('forums.thread.index');
Route::get('/{categorySlug}/{threadSlug}/topic', [\App\Http\Controllers\Forum\TopicsController::class, 'create'])->name('forums.thread.topics.create');
Route::post('/{categorySlug}/{threadSlug}/topic', [\App\Http\Controllers\Forum\TopicsController::class, 'store'])->name('forums.thread.topics.store');
Route::get('/{categorySlug}/{threadSlug}/topic/{topicSlug}', [\App\Http\Controllers\Forum\TopicsController::class, 'show'])->name('forums.thread.topics.show');
Route::post('/{categorySlug}/{threadSlug}/topic/{topicSlug}/reply', [\App\Http\Controllers\Forum\PostsController::class, 'store'])->name('forums.thread.topics.post.store');
// topic reply
// topic delete
// topic edit
// topic update
});
Route::prefix('lists')->group(function () {