git commit "complete auth pages layout without header hero and footer"

This commit is contained in:
2026-08-17 18:09:33 +03:30
parent 523c9d0396
commit ded7416302
14 changed files with 602 additions and 350 deletions
+2 -6
View File
@@ -6,12 +6,8 @@ use App\Models\City;
class CityController extends Controller
{
public function byProvince(int $province)
public function byProvince($province)
{
$cities = City::where('provinces_id', $province)
->orderBy('name')
->get();
return response()->json($cities);
return City::where('province_id', $province)->get();
}
}