1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #6067 from turbo124/v5-develop

Fixes for broken invoice pdf links
This commit is contained in:
David Bomba 2021-06-17 19:06:27 +10:00 committed by GitHub
commit 949ccee9a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()