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 a8fc88c1..188bac3b 100644
--- a/src/Routing/UrlGenerator.php
+++ b/src/Routing/UrlGenerator.php
@@ -14,7 +14,7 @@ class UrlGenerator implements UrlGeneratorInterface
* @param array $parameters
* @return string url in the form [app url]/[path]?[parameters]
*/
- public function link_to($path, $parameters = [])
+ public function linkTo($path, $parameters = [])
{
$path = '/' . ltrim($path, '/');
$request = app('request');