Skip to content

Commit 080bb78

Browse files
redjam13gsdevme
authored andcommitted
fix: pass correct arg type to router generator
1 parent 3b198e9 commit 080bb78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
2626
use Symfony\Component\HttpKernel\HttpKernelInterface;
2727
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
28+
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
2829

2930
/**
3031
* @author Christian Kerl <[email protected]>
@@ -97,7 +98,7 @@ public function definitionAction($webservice)
9798
$this->container->get('router')->generate(
9899
'_webservice_call',
99100
array('webservice' => $webservice),
100-
true
101+
UrlGeneratorInterface::ABSOLUTE_URL
101102
)
102103
));
103104

0 commit comments

Comments
 (0)