/** * Display the specified ResearchGroup. * * @param int $id * @return Response */ public function show($id) { $researchGroup = ResearchGroup::with('coOrdinator')->find($id); //return $researchGroup; return view('admin.research_group.show', compact('researchGroup')); }
/** * Display the specified ResearchGroup. * * @param int $id * @return Response */ public function show($id) { $active = 'research'; $researchGroup = ResearchGroup::with('coOrdinator')->findOrFail($id); return view('frontend.research_group.show', compact('active', 'researchGroup')); }