Skip to content

Commit f4f5163

Browse files
committed
Fix wrong registration for logging views
1 parent 4284998 commit f4f5163

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NutgramServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ public function register()
8484

8585
public function boot(): void
8686
{
87+
$this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');
88+
8789
if ($this->app->runningInConsole()) {
8890
$this->loadViewsFrom(__DIR__.'/../resources/views/terminal', 'terminal');
89-
$this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');
9091

9192
$this->commands([
9293
Console\RunCommand::class,

0 commit comments

Comments
 (0)