updated frontend stack to latest versions (#729)

This commit is contained in:
Kevin Papst
2019-06-03 01:43:49 +02:00
committed by GitHub
parent 19636582ab
commit 97feed0be6
76 changed files with 12126 additions and 6729 deletions

View File

@@ -1,27 +0,0 @@
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Twig;
use Symfony\Bridge\Twig\Extension\AssetExtension as BaseAssetExtension;
class AssetExtension extends BaseAssetExtension
{
/**
* Overwritten to support subdirectories and subdomains at the same time.
*
* @param string $path
* @param null|string $packageName
* @return mixed|string
*/
public function getAssetUrl($path, $packageName = null)
{
return str_replace('./', 'build/', parent::getAssetUrl($path, $packageName));
}
}