Commit 9b63f654 by everclear

link_to_route requires 3 parameters if wildcard values are required

parent f53f07df
...@@ -70,7 +70,7 @@ For example, the < symbol should be converted to its entity representation. Conv ...@@ -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: #### 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:* *Further Reading:*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment