Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Zend/Navigation/Page/Mvc add default route name #5138

Merged
merged 1 commit into from Oct 23, 2013
Merged

Zend/Navigation/Page/Mvc add default route name #5138

merged 1 commit into from Oct 23, 2013

Conversation

turrsis
Copy link
Contributor

@turrsis turrsis commented Sep 19, 2013

No description provided.

case ($this->getRoute() !== null):
$name = $this->getRoute();
case ($this->getRoute() !== null || self::getDefaultRoute() !== null):
$name = ($this->getRoute() !== null) ? $this->getRoute() : self::getDefaultRoute();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use

static::getDefaultRoute()

instead of self

@ghost ghost assigned weierophinney Oct 23, 2013
weierophinney added a commit that referenced this pull request Oct 23, 2013
…lt-route

Zend/Navigation/Page/Mvc add default route name
weierophinney added a commit that referenced this pull request Oct 23, 2013
@weierophinney weierophinney merged commit ad3c60d into zendframework:develop Oct 23, 2013
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
…ix/navigation-pagemvc-default-route

Zend/Navigation/Page/Mvc add default route name
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants