|
|
@ -77,11 +77,8 @@ class GroupUrlRule extends CompositeUrlRule |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function init() |
|
|
|
public function init() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($this->routePrefix === null) { |
|
|
|
|
|
|
|
$this->routePrefix = $this->prefix; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
$this->prefix = trim($this->prefix, '/'); |
|
|
|
$this->prefix = trim($this->prefix, '/'); |
|
|
|
$this->routePrefix = trim($this->routePrefix, '/'); |
|
|
|
$this->routePrefix = $this->routePrefix === null ? $this->prefix : trim($this->routePrefix, '/'); |
|
|
|
parent::init(); |
|
|
|
parent::init(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|