jeudi 23 janvier 2020

Laravel InvalidArgumentException: View [register] not found. and View [login] not found

sorry if my question is not well formulated or too dump. I had a laravel 5.6 project that I updated to laravel 6 in order to use the laravel-permission spatie package. I also installed laravel ui to generate auth which went succesfully. My issue is I can't access routes generated by laravel ui only the home which returns as being logged in and the navbar shows Login | Register. This is my route list

         | GET|HEAD | /                      |                  | Closure                                                                | web          |
|        | GET|HEAD | api/user               |                  | Closure                                                                | api,auth:api |
|        | GET|HEAD | home                   | home             | App\Http\Controllers\HomeController@index                              | web,auth     |
|        | GET|HEAD | login                  | login            | App\Http\Controllers\Auth\LoginController@showLoginForm                | web,guest    |
|        | POST     | login                  |                  | App\Http\Controllers\Auth\LoginController@login                        | web,guest    |
|        | POST     | logout                 | logout           | App\Http\Controllers\Auth\LoginController@logout                       | web          |
|        | POST     | password/email         | password.email   | App\Http\Controllers\Auth\ForgotPasswordController@sendResetLinkEmail  | web,guest    |
|        | GET|HEAD | password/reset         | password.request | App\Http\Controllers\Auth\ForgotPasswordController@showLinkRequestForm | web,guest    |
|        | POST     | password/reset         | password.update  | App\Http\Controllers\Auth\ResetPasswordController@reset                | web,guest    |
|        | GET|HEAD | password/reset/{token} | password.reset   | App\Http\Controllers\Auth\ResetPasswordController@showResetForm        | web,guest    |
|        | GET|HEAD | register               | register         | App\Http\Controllers\Auth\RegisterController@showRegistrationForm      | web,guest    |
|        | POST     | register               |                  | App\Http\Controllers\Auth\RegisterController@register                  | web,guest    |
|        | GET|HEAD | {any}                  |                  | App\Http\Controllers\LexaController@index                              | web          |

Thank you for your time.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/37i6aTA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire