3 years ago

laravel 5.2 routes issue

Posted 3 years ago by dilfdo

Laravel 5.2 route issue..

I'm using laravel 5.2 and my routes.php file have route

Route::get('/', function () { return view('welcome'); });

this is what I get with new installation. but I want to load login page with this route . when I change it ti

Route::get('/', function () { return view('auth.login'); });

it gives me following error

ErrorException in 3939fba00053c6941e222b4a600a7ee46cf9b2a6.php line 12: Undefined variable: errors (View: D:\xamp\htdocs\project\resources\views\auth\login.blade.php)

please advice me how to fix

Please sign in or create an account to participate in this conversation.