changes
This commit is contained in:
@ -30,10 +30,13 @@ class WebsiteController extends Controller
|
||||
->where('status',1)
|
||||
->get();
|
||||
|
||||
|
||||
$data['sports'] = Newscategories::with('sportNews')->get();
|
||||
$data['cultural'] = Newscategories::with('culturalNews')->get();
|
||||
$data['technology'] = Newscategories::with('technologyNews')->get();
|
||||
$data['entertainment'] = Newscategories::with('entertainmentNews')->get();
|
||||
$data['branches'] = Newscategories::with('branchesNews')->get();
|
||||
|
||||
// dd($data['entertainment']);
|
||||
|
||||
$data['internationalNews'] = News_type::with('news')->get();
|
||||
|
Reference in New Issue
Block a user