The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 5b9bedc8 authored by Demian Katz's avatar Demian Katz
Browse files

Style fix; added default param values.

parent 98973245
No related merge requests found
......@@ -85,12 +85,15 @@ class HeadLink extends \Zend\View\Helper\HeadLink
/**
* Compile a less file to css and add to css folder
*
* @param string $file path to less file
* @param string $file Path to less file
* @param string $media Media type
* @param string $conditionalStylesheet Load condition for file
*
* @return void
*/
public function addLessStylesheet($file, $media, $conditionalStylesheet)
{
public function addLessStylesheet($file, $media = 'all',
$conditionalStylesheet = false
) {
$relPath = 'less/' . $file;
$urlHelper = $this->getView()->plugin('url');
$currentTheme = $this->themeInfo->findContainingTheme($relPath);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment