From a5a3857effd1d32acf24d97226618acae683aea9 Mon Sep 17 00:00:00 2001 From: mahdahar <89adham@gmail.com> Date: Fri, 16 Jan 2026 16:31:50 +0700 Subject: [PATCH] Fix route method for test creation (store -> create) --- app/Config/Routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 86276b9..60f7745 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -24,7 +24,7 @@ $routes->group('api', function ($routes) { $routes->get('test', 'Api\TestApiController::index'); $routes->get('test/(:num)', 'Api\TestApiController::show/$1'); - $routes->post('test', 'Api\TestApiController::store'); + $routes->post('test', 'Api\TestApiController::create'); $routes->patch('test/(:num)', 'Api\TestApiController::update/$1'); $routes->delete('test/(:num)', 'Api\TestApiController::delete/$1');