progress
This commit is contained in:
+13
-1
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user