Skip to content

Commit

Permalink
Merge pull request #30 from EscolaLMS/feature/STAR-440
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
KrzysztofDziedziechEscolasoft authored Mar 25, 2022
2 parents db2c4d3 + 0c71d74 commit ac88cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Route::patch('/{id}', [QuestionnaireAdminApiController::class, 'update']);
Route::group(['prefix' => 'report'], function () {
Route::get('/{id}', [QuestionnaireAdminApiController::class, 'report']);
Route::get('/{id}/{model_type_title}', [QuestionnaireAdminApiController::class, 'report']);
Route::get('/{id}/{model_type_title}/{model_id}', [QuestionnaireAdminApiController::class, 'report']);
Route::get('/{id}/{model_type_id}', [QuestionnaireAdminApiController::class, 'report']);
Route::get('/{id}/{model_type_id}/{model_id}', [QuestionnaireAdminApiController::class, 'report']);
});
});
Route::get('/questionnaire-models', [QuestionnaireAdminApiController::class, 'getModelsType']);
Expand Down

0 comments on commit ac88cb5

Please sign in to comment.