add css version

This commit is contained in:
Dennis Eichhorn 2022-08-16 19:11:58 +02:00
parent cd83d2b4c1
commit b42eb7ca54

View File

@ -49,9 +49,9 @@ final class BackendController extends Controller
{ {
/** @var \phpOMS\Model\Html\Head $head */ /** @var \phpOMS\Model\Html\Head $head */
$head = $response->get('Content')->getData('head'); $head = $response->get('Content')->getData('head');
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js'); $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js?v=1.0.0');
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js'); $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js?v=1.0.0');
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js'); $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js?v=1.0.0');
} }
/** /**