src/SpotifyAuthToolServiceProvider.php
protected function routes()
    {
        if ($this->app->routesAreCached()) {
            return;
        }

        Route::middleware(['nova', Authorize::class])
            ->prefix('nova-vendor/nova-spotify-auth-tool')
            ->group(__DIR__.'/../routes/web.php');

        Route::middleware(['nova', Authorize::class])
            ->prefix('nova-vendor/nova-spotify-auth-tool')
            ->group(__DIR__.'/../routes/api.php');
    }
protected function routes()
    {
        if ($this->app->routesAreCached()) {
            return;
        }

        Route::middleware(['nova', Authorize::class])
            ->prefix('nova-vendor/nova-spotify-auth-tool')
            ->group(__DIR__.'/../routes/web.php');

        Route::middleware(['nova', Authorize::class])
            ->prefix('nova-vendor/nova-spotify-auth-tool')
            ->group(__DIR__.'/../routes/api.php');
    }
protected function routes ( ) { if ( $ this -> app -> routesAreCached ( ) ) { return ; } Route :: middleware ( [ 'nova' , Authorize :: class ] ) -> prefix ( 'nova-vendor/nova-spotify-auth-tool' ) -> group ( __DIR__ . '/../routes/web.php' ) ; Route :: middleware ( [ 'nova' , Authorize :: class ] ) -> prefix ( 'nova-vendor/nova-spotify-auth-tool' ) -> group ( __DIR__ . '/../routes/api.php' ) ; }
Register the tool's routes.

@return void
Register the tool s routes .