Vija's avatar
Level 1

How to setup multiple view directory

I have created folder in directory resources/business. I want to configure directory business when user successfully login it will be redirect in business index and url will be like http://localhost/laravel/blog/public/business instead of http://localhost/laravel/blog/public. Can you please guide me.

Hope!

0 likes
1 reply
Braunson's avatar

@Vija I'm assuming you are using Laravel 5.x

You have to override the login success url in your Auth controller. Check the current one in the auth trait

protected $redirectTo = '/business';
1 like

Please or to participate in this conversation.