added it_get_all_pages, it_get_page, it_update_page test

This commit is contained in:
Peter Papp
2021-03-05 11:02:13 +01:00
parent 779b7fc8ba
commit e514994b08
7 changed files with 86 additions and 49 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ Route::group(['prefix' => 'plans'], function () {
// Pages
Route::group(['prefix' => 'pages'], function () {
Route::patch('/{slug}', [PagesController::class, 'update']);
Route::get('/{slug}', [PagesController::class, 'show']);
Route::patch('/{page}', [PagesController::class, 'update']);
Route::get('/{page}', [PagesController::class, 'show']);
Route::get('/', [PagesController::class, 'index']);
});