mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6067 from turbo124/v5-develop
Fixes for broken invoice pdf links
This commit is contained in:
commit
949ccee9a7
@ -28,10 +28,7 @@ class MailServiceProvider extends MailProvider
|
|||||||
|
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$this->app->afterResolving('mail.manager', function (GmailTransportManager $mailManager) {
|
app('mail.manager')->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
||||||
$mailManager->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
|
||||||
return $mailManager;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function registerIlluminateMailer()
|
protected function registerIlluminateMailer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user