Skip to content

Commit

Permalink
allow custom mail template
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Apr 10, 2018
1 parent 4d6aceb commit 87c62e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/Directus/Application/CoreServicesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,10 @@ protected function getMailView()
return function (Container $container) {
$basePath = $container->get('path_base');

return new Twig($basePath . '/src/mail');
return new Twig([
$basePath . '/customs/mail',
$basePath . '/src/mail'
]);
};
}

Expand Down

0 comments on commit 87c62e5

Please sign in to comment.