/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show()
 {
     $edit = Professional::all();
     $user_id = Auth::user()->id;
     $user_role = User::findOrfail($user_id);
     return view('admin.text.professional.show', compact('user_role', 'edit'));
 }
コード例 #2
0
 public function professionalServices()
 {
     $textM = Professional::all();
     return view('healthcare', compact('textM'));
 }