mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes #197 - Subfolder duplicated in Controller asset path
This commit is contained in:
parent
6788a32e8c
commit
34cef2ab46
@ -84,7 +84,7 @@ class Controller extends BaseController
|
||||
public function __construct($theme = null)
|
||||
{
|
||||
$this->theme = $theme ? $theme : Theme::getActiveTheme();
|
||||
$this->assetPath = $this->themeUrl();
|
||||
$this->assetPath = Config::get('cms.themesDir').'/'.$this->theme->getDirName();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user