public function behaviors() { $behaviors = ArrayHelper::merge(parent::behaviors(), ['category' => ['class' => CategoryBehavior::className(), 'route' => '/catalog/default/index']]); return $behaviors; }
public function behaviors() { $behaviors = ArrayHelper::merge(parent::behaviors(), ['category' => ['class' => CategoryBehavior::className()]]); return $behaviors; }