예제 #1
0
 /**
  * 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'));
 }
예제 #2
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $associations = Association::all();
     return view('associations.index', compact('associations'));
 }