error fix
This commit is contained in:
@@ -33,6 +33,8 @@ class WebsiteController extends Controller
|
||||
$countries = Country::where('status', 1)->where('parent_id', null)->get();
|
||||
$interviews = Service::where('status', 1)->where('parent_id', null)->get();
|
||||
$services = Service::where('status', 1)->where('parent_id', null)->get();
|
||||
$data['previousEvents'] = previousEvents(limit: null, order: 'asc');
|
||||
$data['upcomingEvents'] = upcomingEvents(limit: null, order: 'asc');
|
||||
$this->path = config('app.client');
|
||||
|
||||
view()->share([
|
||||
@@ -42,6 +44,8 @@ class WebsiteController extends Controller
|
||||
'countries' => $countries,
|
||||
'services' => $services,
|
||||
'interviews' => $interviews,
|
||||
'previousEvents' => $data['previousEvents'],
|
||||
'upcomingEvents' => $data['upcomingEvents'],
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -52,8 +56,6 @@ class WebsiteController extends Controller
|
||||
$data['successGalleries'] = getGalleriesByCategory(limit: 3, order: 'asc', category: 'voice-of-success');
|
||||
$data['destinations'] = getDestinations(limit: null, order: 'asc');
|
||||
$data['services'] = getServices(limit: null, order: 'asc');
|
||||
$data['previousEvents'] = previousEvents(limit: null, order: 'asc');
|
||||
$data['upcomingEvents'] = upcomingEvents(limit: null, order: 'asc');
|
||||
$data['classes'] = getClasses(limit: null, order: 'asc');
|
||||
$data['institutions'] = getInstitutions(limit: null, order: 'asc');
|
||||
$data['faqs'] = getFAQs(limit: null, order: 'desc');
|
||||
|
Reference in New Issue
Block a user