Skip to content

Commit

Permalink
fix facade service in provider
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 25, 2024
1 parent aaad7d9 commit ec43105
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/TomatoSettingsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public function register(): void

$this->registerPermissions();

app()->bind('tomato-settings', function () {
return new SettingHolderHandler();
});

}

public function boot(): void
Expand All @@ -84,11 +88,6 @@ public function boot(): void
->route("admin.settings.index")
]);

app()->bind('tomato-settings', function () {
return new SettingHolderHandler();
});


$settings = [];

if(config('tomato-settings.settings.seo')){
Expand Down

0 comments on commit ec43105

Please sign in to comment.