summaryrefslogtreecommitdiff
path: root/src/Http/UrlGeneratorServiceProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http/UrlGeneratorServiceProvider.php')
-rw-r--r--src/Http/UrlGeneratorServiceProvider.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Http/UrlGeneratorServiceProvider.php b/src/Http/UrlGeneratorServiceProvider.php
index 37304076..9b9988aa 100644
--- a/src/Http/UrlGeneratorServiceProvider.php
+++ b/src/Http/UrlGeneratorServiceProvider.php
@@ -9,6 +9,7 @@ class UrlGeneratorServiceProvider extends ServiceProvider
public function register()
{
$urlGenerator = $this->app->make(UrlGenerator::class);
+ $this->app->instance(UrlGenerator::class, $urlGenerator);
$this->app->instance('http.urlGenerator', $urlGenerator);
}
}