app/Http/Controllers/HomeController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function register()
    {
        if(Auth::check())   
            return redirect()->intended('/booking');
        return view('register.index');
    }
public function register ( ) { if ( Auth :: check ( ) ) return redirect ( ) -> intended ( '/booking' ) ; return view ( 'register.index' ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .