/**
  *
  * @inheritdoc
  */
 public function getRoute()
 {
     if (is_null(Yii::$app->request->get(ConfigComponent::FIRST_SEGMENT)) && is_null(Yii::$app->request->get(ConfigComponent::SECOND_SEGMENT))) {
         return parent::getRoute();
     }
     $third = Yii::$app->request->get(ConfigComponent::THIRD_SEGMENT) === 0 ? '' : '/' . Yii::$app->request->get(ConfigComponent::THIRD_SEGMENT);
     return $this->module->id . '/' . Yii::$app->request->get(ConfigComponent::FIRST_SEGMENT) . '/' . Yii::$app->request->get(ConfigComponent::SECOND_SEGMENT) . $third;
 }