public function edit(Note $show_card_note){
return view ('note.edit', compact('show_card_note'));
}
public function update(Request $request, Note $show_card_note){
$show_card_note->update($request->all());
return back();
}
please tell me what my wrong i am follow this video link
Whoops, looks like something went wrong.
1/1
TokenMismatchException in compiled.php line 3227:
in compiled.php line 3227
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing{closure}(object(Request)) in compiled.php line 13474
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing{closure}(object(Request)) in compiled.php line 11964
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
TokenMismatchException in compiled.php line 3227
use this code on my edit page
this code use my route
use this code Note controller
please tell me what my wrong i am follow this video link
visit https://laracasts.com/series/laravel-5-from-scratch/episodes/10
THE ERROR SHOW -------