Skip to content

Commit

Permalink
Fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaltonMcCleery committed Jul 16, 2024
1 parent 94915e7 commit 9b76e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RemoteModelsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function boot(Router $router): void
}

$this->app->booted(function () use ($router) {
if (count(config('remote-models.host_models', [])) > 0) {
if (count(config('remote-models.host-models', [])) > 0) {
Route::group([
'namespace' => 'RemoteModels\Http\Controllers',
], fn () => $this->loadRoutesFrom(__DIR__ . '/Http/routes.php'));
Expand Down

0 comments on commit 9b76e9e

Please sign in to comment.