Browse Source

link_to_route requires 3 parameters if wildcard values are required

everclear 12 years ago
parent
commit
9b63f65408
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/views/html.md

+ 1 - 1
laravel/documentation/views/html.md

@@ -70,7 +70,7 @@ For example, the < symbol should be converted to its entity representation. Conv
 
 #### 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:*