sanainfotech
4 years ago
1494
6
Laravel

landing page to be login page

Posted 4 years ago by sanainfotech

Hi I am trying basic think, I would like when user enter the web address the home page must be auth/login page.

My Route

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

Its giving me error as :

InvalidArgumentException in FileViewFinder.php line 137:
View [login] not found.

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