/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $faculties = Faculty::all(); $associations = Association::all(); return view('pages.admin.associations.index', compact('associations', 'faculties')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $associations = Association::all(); return view('associations.index', compact('associations')); }