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
'js' => array(
'js/test.js',
),
'depends' => array(
/*'depends' => array(
'yii',
),
),*/
),
);
return $bundles;
......
......@@ -41,7 +41,7 @@ class AssetController extends Controller
$this->loadConfiguration($configFile);
$bundles = $this->loadBundles($this->bundles, $this->extensions);
$targets = $this->loadTargets($this->targets, $bundles);
$this->publishBundles($bundles, $this->publishOptions);
$this->publishBundles($bundles, $this->assetManager);
$timestamp = time();
foreach ($targets as $target) {
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