Skip to content

Commit 372d0b4

Browse files
committed
wip
1 parent 6d48dcb commit 372d0b4

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

config/mailator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
/**
4545
> The email layout, used to wrap the template.
4646
*/
47-
'template_layout' => 'laravel-mailator::mails.laravel',
47+
'template_layout' => 'laravel-mailator::laravel',
4848

4949
/**
5050
> The default list with replacers for the template.

src/LaravelMailatorServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function boot()
5151
}
5252
// Publishing the views.
5353
$this->publishes([
54-
__DIR__.'/../resources/views' => resource_path('views/vendor/laravel-mailator'),
54+
__DIR__.'/../resources/views/publish' => resource_path('views/vendor/laravel-mailator'),
5555
], 'mailator-views');
5656

5757
// Publishing assets.

src/Support/WithMailTemplate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function useLayout(string $layout)
6262

6363
public function getLayout()
6464
{
65-
return $this->layout ?? config('mailator.templates.layout', 'laravel-mailator::mails.laravel');
65+
return $this->layout ?? config('mailator.templates.template_layout', 'laravel-mailator::laravel');
6666
}
6767

6868
public function getTemplate(): ?MailTemplateable

0 commit comments

Comments
 (0)