Ejemplo n.º 1
0
 public function complaint()
 {
     $hostel = Hostels::all();
     $mess = Mess::all();
     return view('Complaints/complaintform', ['hostels' => $hostel, 'mess' => $mess]);
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     //
     $messes = Mess::all();
     return view("M_Incharge.create", compact('messes'));
 }