link_to_route requires 3 parameters if wildcard values are required
This commit is contained in:
parent
f53f07df4a
commit
9b63f65408
|
@ -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:*
|
||||
|
||||
|
|
Loading…
Reference in New Issue