git add .
git commit "Implement authentication flow and initialize home page hero section"
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\City;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CityController extends Controller
|
||||
{
|
||||
//
|
||||
public function getCities($province)
|
||||
{
|
||||
return City::where('province_id', $province)
|
||||
->orderBy('name')
|
||||
->get();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user