diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 5662f67..df7c8c2 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -12,13 +12,15 @@ public function boot() { parent::boot(); - Utility::make('static-cache-manager') - ->title(__('Static Cache Manager')) - ->description(__('Clear specific paths in your static cache.')) - ->view('static-cache-manager::index') - ->icon('hammer-wrench') - ->routes(function ($router) { - $router->post('/clear', ClearController::class)->name('clear'); - }); + Utility::extend(function () { + Utility::register('static-cache-manager') + ->title(__('Static Cache Manager')) + ->description(__('Clear specific paths in your static cache.')) + ->view('static-cache-manager::index') + ->icon('hammer-wrench') + ->routes(function ($router) { + $router->post('/clear', ClearController::class)->name('clear'); + }); + }); } }