Skip to content
Snippets Groups Projects
Commit f1bf6e94 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Since all it can contain is optional, the 'assets' and 'cache' can be just as optional

parent 8bd8e3f4
No related branches found
No related tags found
No related merge requests found
......@@ -328,8 +328,8 @@ class Module
}
$assetConfig = $config->getConfigItem('assets');
$cacheConfig = $assetConfig->getConfigItem('caching');
$assetConfig = $config->getOptionalConfigItem('assets', []);
$cacheConfig = $assetConfig->getOptionalConfigItem('caching', []);
$response = new BinaryFileResponse($path);
$response->setCache([
// "public" allows response caching even if the request was authenticated,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment