forked from zendframework/zendframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Sitemap ViewHelper after Url ViewHelper
Sitemap ViewHelper has a dependency to Url ViewHelper in url() method. It calls with defaults parameters. In ZF1, a route keep values between match() and assemble() methods in the same instance. This behavior is broken in ZF2 (at this time). We don't have a default route or a current route in Mvc\Router: we must define route to call Url ViewHelper. Why Sitemap ViewHelper need the "current document"? I try to replace this behavior with BaseUrl ViewHelper. Wait & see...
- Loading branch information
Showing
2 changed files
with
2 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters