Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

how to send multiple parameters from volt to controller

<td width="7%">
    {{ link_to("employee/edit/" ~ loop.index, '<i class="glyphicon glyphicon-edit"></i> Edit', "class": "btn btn-default") }}
<td width="7%">{{ link_to("employee/unsubscribe/" ~loop.index, '<i class="glyphicon glyphicon-remove"></i> Unsubscribe', "class": "btn btn-default") }}</td>

i want to send multiple parameters to "employee/edit/" ie along with loop.index.... how to do?? please help!!


Can't you just separate them with / and access them with dispatcher->getParams()?

{{ link_to("employee/unsubscribe/" ~loop.index ~"/" ~ var2 ~"/" ~ var3, 'Unsubscribe', "class": "btn btn-default") }}