CodeCommitAccess+1-at-632418466995 3 месяцев назад
Родитель
Сommit
2f53890e4b
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      routes/api.php

+ 1
- 1
routes/api.php Просмотреть файл

@@ -32,7 +32,7 @@ Route::prefix('{locale}')->group(function (){
32 32
 
33 33
     Route::prefix('project')->group(function () {
34 34
         Route::get('/', [ProjectController::class, 'list']);
35
-        Route::get('/{id}', [NewsController::class, 'detail'])->whereIn('locale', ["tw", "en"])->where('id', '[0-9]+');
35
+        Route::get('/{id}', [ProjectController::class, 'detail'])->whereIn('locale', ["tw", "en"])->where('id', '[0-9]+');
36 36
         Route::get('/badges', [ProjectController::class, 'badges']);
37 37
     });
38 38
 });