We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19feef1 + 4f92e9b commit eaeffabCopy full SHA for eaeffab
src/Theme.php
@@ -193,6 +193,11 @@ public function setVendor(string $vendor = null): self
193
return $this;
194
}
195
196
+ public function getVendor(): string
197
+ {
198
+ return $this->vendor;
199
+ }
200
+
201
/**
202
* Check if has parent Theme.
203
*/
src/Traits/HasViews.php
@@ -24,7 +24,7 @@ protected function loadViews()
24
25
26
// Update config view.paths to work with errors views
27
- Config::set('view.paths', Arr::prepend(Arr::wrap(Config::set('view.paths')), $paths));
+ Config::set('view.paths', Arr::prepend(Arr::wrap(Config::get('view.paths')), ...$paths));
28
29
$this->loadVendorViews();
30
$this->loadMailComponentPaths();
0 commit comments