add value host email and password from db global settings table

This commit is contained in:
arifal
2025-01-27 19:46:45 +07:00
parent 82ab44cfb6
commit 8b77e748ca
7 changed files with 103 additions and 17 deletions

View File

@@ -17,7 +17,7 @@ class GlobalSettingsController extends Controller
*/
public function index()
{
$query = GlobalSetting::query();
$query = GlobalSetting::query()->orderBy('id','desc');
return GlobalSettingResource::collection($query->paginate());
}