Permalink
Browse files

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

…riansluiman/zf2 into hotfix/2384
  • Loading branch information...
2 parents 836249f + 4525cbe commit bcee117f163512f65d001e53d19cc05b0764eef7 @weierophinney weierophinney committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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()

0 comments on commit bcee117

Please sign in to comment.