raisinbread/li3_docs — comment on commit 6efe29316aaad67e4119ee8048ba18e62a03e154
File: views/layouts/default.html.php line 54
By nateabele:

Better idea: ```$this->url(array('controller' => 'li3_docs.ApiSearch', 'action' => 'query'))```, and in your responses, just send along the URL for each item with the display text. This keeps the JavaScript from having to know anything about how URLs are generated/handled.