Custom home route with data to /home view
Closed this issue · 3 comments
prabhat2k15 commented
protected $redirectTo='brandadmin/home' is set for default home. But i am unable to send my data on the view.
I have tried Route::get('/home','BrandAdminController@index')->name('brandadmin.home');
also in web.php but its not working.
How can i send my custom data to /home view in multi auth system.???
Ericndefo commented
have the same issue
Ericndefo commented
you can use your "user" file into route folder , to passing data to "home" view
prabhat2k15 commented
yeah that works...thanks.