Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Davids73's avatar

Path to dashboard after login

Hello everyone, sorry but I'm a bit confused...I updated to Nova 4.1...but which route I should set to see the main dashboard after login? Currently after login my app redirect to http://127.0.0.1:8000/ and to see the dashboard I digit http://127.0.0.1:8000/resources/resource, before upgrade the app redirect to dashboard...what am I missing? Thanks in advance

0 likes
2 replies
filipbaginski's avatar

@enadabuzaid In file App\Providers\NovaServiceProvider add this code:

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        Nova::initialPath('/resources/THE RESOURCE YOU WANT TO POINT TO AFTER LOG IN');
    }

, and as above, set up a path to the resource you want to go after log in.

Davids73's avatar

I solved it by eliminating the call to the welcome route in routes/web.php:

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

Please or to participate in this conversation.