diff --git a/.env.example b/.env.example index bab9f4f..dfd0203 100644 --- a/.env.example +++ b/.env.example @@ -25,7 +25,7 @@ DB_PASSWORD_2= DB_CONNECTION_3=mysql DB_HOST_3=127.0.0.1 DB_PORT_3=3306 -DB_DATABASE_3=kauntan +DB_DATABASE_3=kuantan DB_USERNAME_3=root DB_PASSWORD_3= diff --git a/routes/web.php b/routes/web.php index 454454e..a5a3da1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -51,6 +51,7 @@ $router->group(['prefix'=>'api'], function () use ($router){ $router->get('marhun/{norujukan}',['uses'=>'MarhunController@showOneMarhun']); $router->post('marhun/{kodcaw}',['uses'=>'MarhunController@create']); $router->put('marhun/{id}', ['uses' => 'MarhunController@update']); + $router->get('jemas/{kodcaw}',['uses'=>'MarhunController@getAllJemas']);