From 9b63f65408567c0c5df9c8e1f296c4a12713a892 Mon Sep 17 00:00:00 2001 From: everclear Date: Mon, 15 Oct 2012 15:50:10 +0200 Subject: [PATCH] link_to_route requires 3 parameters if wildcard values are required --- laravel/documentation/views/html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/views/html.md b/laravel/documentation/views/html.md index aabe244d..e94e9e14 100644 --- a/laravel/documentation/views/html.md +++ b/laravel/documentation/views/html.md @@ -70,7 +70,7 @@ #### Generating a link to a named route: #### Generating a link to a named route with wildcard values: - $url = HTML::link_to_route('profile', array($username)); + $url = HTML::link_to_route('profile', 'User Profile', array($username)); *Further Reading:*