Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'hotfix/http-router-url-helper' of https://github.com/ju…

…riansluiman/zf2 into hotfix/2384
  • Loading branch information...
commit bcee117f163512f65d001e53d19cc05b0764eef7 2 parents 836249f + 4525cbe
@weierophinney weierophinney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Mvc/Service/ViewHelperManagerFactory.php
View
2  library/Zend/Mvc/Service/ViewHelperManagerFactory.php
@@ -67,7 +67,7 @@ public function createService(ServiceLocatorInterface $serviceLocator)
// Configure URL view helper with router
$plugins->setFactory('url', function($sm) use($serviceLocator) {
$helper = new ViewHelper\Url;
- $helper->setRouter($serviceLocator->get('Router'));
+ $helper->setRouter($serviceLocator->get('HttpRouter'));
$match = $serviceLocator->get('application')
->getMvcEvent()
Please sign in to comment.
Something went wrong with that request. Please try again.