12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace App\Http\Controllers;
- use Illuminate\Http\Request;
- use Auth;
- class HomeController extends Controller
- {
- /**
- * Create a new controller instance.
- *
- * @return void
- */
- public function __construct()
- {
- // $this->middleware('auth');
- }
- /**
- * Show the application dashboard.
- *
- * @return \Illuminate\Contracts\Support\Renderable
- */
- public function student_registration_Qform($hash)
- {
- $hashids=new \Hashids\Hashids('student_signup', 25);
- $hash_teacher_ids=$hashids->decode($hash);
- if(empty($hash_teacher_ids[0])) abort(404);
- return view('Q_apply_form',compact('hash_teacher_ids'));
- }
- }
|