Skip to content

Commit

Permalink
chore: fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko authored and github-actions[bot] committed Feb 10, 2025
1 parent 4fe4867 commit d09dde2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ public static function attachView($className, $name = null)
app()->vite();
app()->config([
'views.path' => 'views',
'views.cache' => 'cache'
'views.cache' => 'cache',
]);

if ($className === 'Leaf\Blade') {
$class->configure([
'views' => 'views',
'cache' => 'cache'
'cache' => 'cache',
]);
} else if ($className === 'Leaf\BareUI') {
} elseif ($className === 'Leaf\BareUI') {
$class->config('path', './views');
}
}
Expand Down

0 comments on commit d09dde2

Please sign in to comment.