In LoginController: public function redirectPath() { return route('dashboard'); }
I've tried code in my own project. route file: Route::match(['get', 'post'], '/spt_dashboard', 'Dash...
if(!function_exists('freeRedirect')){ function freeRedirect($to = '/'){ throw new \...
Route::match(['get', 'post'], '/spt_dashboard', '\App\Http\Controllers\AdminSptController@cbInit')-&...
The Laravel portal for problem solving, knowledge sharing and community building.