feat:add serch for city and province in registet on user side

This commit is contained in:
2026-08-19 09:18:56 +03:30
parent 76a4263c1d
commit a2384d847f
5 changed files with 26 additions and 14 deletions
+4 -2
View File
@@ -8,9 +8,11 @@ use Illuminate\Http\Request;
class IndexController extends Controller
{
//
public function index()
{
$title = 'صفحه اصلی';
$flights = Flight::query()
->with([
'departureAirport.city',
@@ -27,7 +29,7 @@ class IndexController extends Controller
->take(10)
->paginate();
return view('index', compact('flights', 'tours'));
return view('index', compact('flights', 'tours','title'));
}
}