public function init()
    {
        parent::init();
        $this->setAliases(['@podium' => '@vendor/bizley/podium/src']);
        if (Yii::$app instanceof WebApplication) {
            $this->podiumComponent->registerComponents();
            $this->layout = 'main';
            if (!is_string($this->slugGenerator)) {
                $this->slugGenerator = PodiumSluggableBehavior::className();
            }
        } else {
            $this->podiumComponent->registerConsoleComponents();
        }
    }