middleware('auth'); } public function student_q_form($hash) { $hashids=new \Hashids\Hashids('student_q_signup', 25); $hash_teacher_ids=$hashids->decode($hash); $user =User::find($hash_teacher_ids[0]); if(empty($hash_teacher_ids[0])) abort(404); return view('q_apply_form',compact('hash_teacher_ids','user')); } public function wishlist_student_register($hash) { $hashids=new \Hashids\Hashids('student_wishlist_signup', 25); $hash_student_ids=$hashids->decode($hash); if(empty($hash_student_ids[0])) abort(404); $user =User::find($hash_student_ids[0]); return view('auth.wishlist_register_form',compact('hash_student_ids','user')); } }