Skip to content

Commit

Permalink
Updating the routes registration
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Mar 18, 2024
1 parent 2f68ecf commit c4ef239
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea
/.phpunit.cache
/build
/vendor
Expand Down
4 changes: 3 additions & 1 deletion src/LogViewerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public function register(): void

$this->registerConfig();

$this->registerProvider(Providers\RouteServiceProvider::class);
$this->booted(function () {
$this->registerProvider(Providers\RouteServiceProvider::class);
});

$this->registerCommands([
Commands\PublishCommand::class,
Expand Down

0 comments on commit c4ef239

Please sign in to comment.