.../export/?id <--- this is a bit prustating putting a quest-mark directly after slash
if you are using pagination, you can just add
$yourData->appends(array('sort' => 'votes'))->links();
this will generate link : http://example.com/something?page=2&sort=votes
Append works with the pagination links, I'm interested in appending the query parameters to the route. How can I do this?
However, it turned out, that if I declare the controller's action explicitly, then the URL::route works fine:
Route::get('datacatalogue/export', array('as' => 'datacatalogue.export', 'uses' => '[email protected]')); // and URL::route('datacatalogue.export', array('id'=>1))
what about this kind of url :
/export/?id //quest-mark is put right after a slash ? like http://mydomain.com/datacatalogue/export/?id=1&another_par...
I found this wont work.
The working or not working of export/? or just ? depends on your routes setup.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us