code: public function init()
      {
          $this->prefix = trim($this->prefix, '/');
          $this->routePrefix = $this->routePrefix === null ? $this->prefix : trim($this->routePrefix, '/');
          parent::init();
      }
docs: {@inheritdoc}