Skip to content

Commit 526ab33

Browse files
Merge pull request ARCANEDEV#455 from ARCANEDEV/patch-routing
Updating the routes registration
2 parents 2f68ecf + c4ef239 commit 526ab33

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 2
2222

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.idea
12
/.phpunit.cache
23
/build
34
/vendor

src/LogViewerServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ public function register(): void
3939

4040
$this->registerConfig();
4141

42-
$this->registerProvider(Providers\RouteServiceProvider::class);
42+
$this->booted(function () {
43+
$this->registerProvider(Providers\RouteServiceProvider::class);
44+
});
4345

4446
$this->registerCommands([
4547
Commands\PublishCommand::class,

0 commit comments

Comments
 (0)