File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lib/internal/Magento/Framework/View/Page/Config Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,6 @@ protected function getAssetTemplate($contentType, $attributes)
347
347
break ;
348
348
349
349
case 'css ' :
350
- case 'less ' :
351
350
default :
352
351
$ groupTemplate = '<link ' . $ attributes . ' href="%s" /> ' . "\n" ;
353
352
break ;
@@ -386,7 +385,7 @@ protected function renderAssetHtml($template, $assets)
386
385
if ($ asset ->getSourceUrl () != $ asset ->getUrl ()) {
387
386
$ attributes = $ this ->addDefaultAttributes ('less ' , []);
388
387
$ groupTemplate = $ this ->getAssetTemplate ('less ' , $ attributes );
389
- $ result .= sprintf ($ groupTemplate , $ asset ->getSourceUrl ());
388
+ $ result .= sprintf ($ groupTemplate , $ asset ->getUrl ());
390
389
} else {
391
390
$ result .= sprintf ($ template , $ asset ->getUrl ());
392
391
}
You can’t perform that action at this time.
0 commit comments