I created a new laravel 5.4 Project + auth.
These are the steps I did.
- laravel new app
- laravel make:auth
- php artisan migrate
Now if I try to Register I get following error:
notfoundhttpexception in routecollection.php line 161 The Redirect in my RegisterController Looks like this:
protected $redirectTo = '/home'; and the home.blade.php file exists under ressources/views.
If I try to Change the URL to my main page I get this error:
View [login] not found The user is still created. if I delete the user the error view[Login] dissappears.
My routes:
Auth::routes(); Route::get('/', 'HomeController@index'); // @index Returns to 'login' But I still get the error any ideas?