Skip to content

Commit eaeffab

Browse files
Merge pull request #49 from hexadog/develop
Develop
2 parents 19feef1 + 4f92e9b commit eaeffab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Theme.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ public function setVendor(string $vendor = null): self
193193
return $this;
194194
}
195195

196+
public function getVendor(): string
197+
{
198+
return $this->vendor;
199+
}
200+
196201
/**
197202
* Check if has parent Theme.
198203
*/

src/Traits/HasViews.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected function loadViews()
2424
}
2525

2626
// Update config view.paths to work with errors views
27-
Config::set('view.paths', Arr::prepend(Arr::wrap(Config::set('view.paths')), $paths));
27+
Config::set('view.paths', Arr::prepend(Arr::wrap(Config::get('view.paths')), ...$paths));
2828

2929
$this->loadVendorViews();
3030
$this->loadMailComponentPaths();

0 commit comments

Comments
 (0)