Commit f9b06e1e by Klimov Paul

Unknown property "yii\console\controllers\AssetController::publishOptions" error has been fixed.

parent 98b3cc07
...@@ -125,9 +125,9 @@ class AssetControllerTest extends TestCase ...@@ -125,9 +125,9 @@ class AssetControllerTest extends TestCase
'js' => array( 'js' => array(
'js/test.js', 'js/test.js',
), ),
'depends' => array( /*'depends' => array(
'yii', 'yii',
), ),*/
), ),
); );
return $bundles; return $bundles;
......
...@@ -41,7 +41,7 @@ class AssetController extends Controller ...@@ -41,7 +41,7 @@ class AssetController extends Controller
$this->loadConfiguration($configFile); $this->loadConfiguration($configFile);
$bundles = $this->loadBundles($this->bundles, $this->extensions); $bundles = $this->loadBundles($this->bundles, $this->extensions);
$targets = $this->loadTargets($this->targets, $bundles); $targets = $this->loadTargets($this->targets, $bundles);
$this->publishBundles($bundles, $this->publishOptions); $this->publishBundles($bundles, $this->assetManager);
$timestamp = time(); $timestamp = time();
foreach ($targets as $target) { foreach ($targets as $target) {
if (!empty($target->js)) { if (!empty($target->js)) {
......
Markdown is supported
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