Browse Source

ChapterIndexController

visuddhinanda 2 years ago
parent
commit
639b9ed9ab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      routes/api.php

+ 2 - 0
routes/api.php

@@ -86,6 +86,7 @@ use App\Http\Controllers\SentencesInChapterController;
 use App\Http\Controllers\CompoundController;
 use App\Http\Controllers\NotificationController;
 use App\Http\Controllers\InteractiveController;
+use App\Http\Controllers\ChapterIndexController;
 
 /*
 |--------------------------------------------------------------------------
@@ -227,6 +228,7 @@ Route::group(['prefix' => 'v2'],function(){
     Route::apiResource('compound',CompoundController::class);
     Route::apiResource('notification',NotificationController::class);
     Route::apiResource('interactive',InteractiveController::class);
+    Route::apiResource('chapter-index',ChapterIndexController::class);
 
     Route::get('download/{type1}/{type2}/{uuid}/{filename}', function ($type1,$type2,$uuid,$filename) {
         header("Content-Type: {$type1}/{$type1}");