Skip to content

Commit

Permalink
Merge pull request #29 from bildvitta/develop
Browse files Browse the repository at this point in the history
add singleton
  • Loading branch information
noemimpimentel authored Dec 11, 2023
2 parents 1cd4647 + 7cad680 commit 943cb2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/IssJuridicoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,13 @@ public function configurePackage(Package $package): void
//->hasMigration('create_iss-juridico_table')
//->hasCommand(IssJuridicoCommand::class);
}

public function packageBooted()
{
if ($this->package->hasRoute('api')) {
$this->loadRoutesFrom(__DIR__.'/../routes/api.php');
}
}


}

0 comments on commit 943cb2e

Please sign in to comment.