summaryrefslogtreecommitdiff
path: root/src/Routing/UrlGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Routing/UrlGenerator.php')
-rw-r--r--src/Routing/UrlGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Routing/UrlGenerator.php b/src/Routing/UrlGenerator.php
index 33eef7b0..6df52425 100644
--- a/src/Routing/UrlGenerator.php
+++ b/src/Routing/UrlGenerator.php
@@ -9,7 +9,7 @@ class UrlGenerator
* @param array $parameters
* @return string
*/
- public static function to($path, $parameters = [])
+ public function to($path, $parameters = [])
{
$path = '/' . ltrim($path, '/');
$request = app('request');