/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $feedbackInfo = Feedback::whereTrainerId($id)->firstOrFail(); return view('feedbacks.show', compact('feedbackInfo')); }
/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $feedbackInfo = Feedback::whereTrainerId($id)->firstOrFail(); return view('feedbacks.show', compact('feedbackInfo')); }