Merge pull request #6067 from turbo124/v5-develop
Fixes for broken invoice pdf links
This commit is contained in:
commit
949ccee9a7
1 changed files with 1 additions and 4 deletions
|
|
@ -28,10 +28,7 @@ class MailServiceProvider extends MailProvider
|
|||
|
||||
public function boot()
|
||||
{
|
||||
$this->app->afterResolving('mail.manager', function (GmailTransportManager $mailManager) {
|
||||
$mailManager->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
||||
return $mailManager;
|
||||
});
|
||||
app('mail.manager')->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
||||
}
|
||||
|
||||
protected function registerIlluminateMailer()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue