You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
516 B

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Service;
class StudyAbroadController extends Controller
{
public function study_abroad(){
$services = Service::with('service_sections')->get();
return view('study-abroad',compact('services'));
}
public function details($slug){
$service = Service::where(['slug' => $slug,'status' => 1])->orderby('order_by','asc')->first();
return view('study-abroad-detail',compact('service'));
}
}