feat:add serch for city and province in registet on user side
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user