app/Http/Controllers/UserCaptchaController.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 create(Request $request)
    {
        $this->validate($request,[
            'user_id' => 'required',
        ]);
        $id = $request->input('user_id');
        return redirect('user/solving/{{$id}}');
    }
public function create ( Request $ request ) { $ this -> validate ( $ request , [ 'user_id' => 'required' , ] ) ; $ id = $ request -> input ( 'user_id' ) ; return redirect ( 'user/solving/{{$id}}' ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .