summaryrefslogtreecommitdiff
path: root/src/Routing
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-20 01:09:11 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-20 01:10:14 +0200
commit86c0713baa2f616bf1dff6d9dbe0ea68b1c00e91 (patch)
tree9f1c0a43c6c02b333059e2e5b30334f7465ab5d6 /src/Routing
parentc8d32d23e195d53d6d10fdac5003718b10ffbeaa (diff)
Added helpers unit test
Diffstat (limited to 'src/Routing')
-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');