Simplify assets configuration.

This commit is contained in:
David Molineus committed 2015-01-08 12:44:42 +01:00
1 parent 977ff01ced
commit 135bd9f7c6
3 files changed
+45 -48

No files matched your search

@@ -35,7 +35,10 @@ class ContaoAssets implements Assets
break;
case static::TYPE_FILE:
$script .= '|static';
if (!\Config::get('debugMode')) {
$script .= '|static';
}
// no break
default:
@@ -54,7 +57,9 @@ class ContaoAssets implements Assets
break;
case static::TYPE_FILE:
$stylesheet .= '|all|static';
if (!\Config::get('debugMode')) {
$stylesheet .= '|all|static';
}
// no break
default: