We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag::linkTo() should allow to add query-string parameters
The text was updated successfully, but these errors were encountered:
You can do it like that
$query = http_build_query(array('a' => 1, 'b' => 2)); Tag::linkTo('controller?'.$query, 'Link name');
But there are some kind of issue, because it use htmlentities() function and output will be:
<a href="/controller?a=1&b=2">Link name</a>
It works anyway, but does it correct?
Sorry, something went wrong.
Yes, but not with named routes:
{{ link_to([ 'for': 'dashboard' ], 'Dashboard') }}
so need a generic solution
Merge pull request #2248 from dreamsxin/tag_1.3.2
a3bb614
Fix #2002 Tag::linkTo() to allow the addition of query string parameters
447b519
No branches or pull requests
Tag::linkTo() should allow to add query-string parameters
The text was updated successfully, but these errors were encountered: