diff --git a/src/Application/ILinkGenerator.php b/src/Application/ILinkGenerator.php new file mode 100644 index 000000000..e83966103 --- /dev/null +++ b/src/Application/ILinkGenerator.php @@ -0,0 +1,26 @@ +addDefinition($this->prefix('linkGenerator')) + ->setType(Nette\Application\ILinkGenerator::class) ->setFactory(Nette\Application\LinkGenerator::class, [ 1 => new Definitions\Statement([new Definitions\Statement('@Nette\Http\IRequest::getUrl'), 'withoutUserInfo']), ]);