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

后端 未结 7 1074
野趣味
野趣味 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:00

    Laravel has an authentication skeleton generator which might have been previously used prior to your current state in your project. I had this error and I was coming from a git clone that had Laravel extra's omitted from sharing good practices.

    By reissuing the command

    php artisan make:auth
    

    https://laravel.com/docs/5.6/authentication#introduction

提交回复
热议问题