Skip to content

Commit

Permalink
Fix wrong registration for logging views
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Nov 6, 2023
1 parent 4284998 commit f4f5163
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NutgramServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ public function register()

public function boot(): void
{
$this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');

if ($this->app->runningInConsole()) {
$this->loadViewsFrom(__DIR__.'/../resources/views/terminal', 'terminal');
$this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');

$this->commands([
Console\RunCommand::class,
Expand Down

0 comments on commit f4f5163

Please sign in to comment.