/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $data = array(); $data['content'] = \App\SpecializationCategory::all(); return view('pages.admin.spec-cat.index')->with('data', $data); }