Laravel 5 InvalidArgumentException in FileViewFinder.php line 137: View [.admin] not found

后端 未结 7 1051
野趣味
野趣味 2021-02-19 07:32

This is student.php and my function for admin:

 public function admin(Request $request){

       if($request->isMethod(\'get\')){
       retu         


        
相关标签:
7条回答
  • 2021-02-19 08:03

    Please check first that folder is under views folder i.e resources/views/foldername/filename

    then you can test

    Route::get('route_name', function () {
        return view('foldername.file_name');
    });
    
    0 讨论(0)
提交回复
热议问题