Skip to content

Commit e842095

Browse files
committed
Merge pull request laravel#1351 from everclear/patch-1
link_to_route requires 3 parameters if wildcard values are required
2 parents f53f07d + 9b63f65 commit e842095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/views/html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For example, the < symbol should be converted to its entity representation. Conv
7070

7171
#### Generating a link to a named route with wildcard values:
7272

73-
$url = HTML::link_to_route('profile', array($username));
73+
$url = HTML::link_to_route('profile', 'User Profile', array($username));
7474

7575
*Further Reading:*
7676

0 commit comments

Comments
 (0)