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 pass multi params using link_to

I am using 'volt' for front end. I need to pass multi parameters for linkTo function. I am able to send only single parameter now. Could you guys please help on this?

I am able to send single param like this using link_to '{{ link_to('section/show/'~section.id, 'Show Classes') }}' but I need to send multi params

Thanks in Advance.

{{ linkto('section/show/' ~ section.id ~'/'~ section.title ~'/'~ section.somethingElse, 'Show Classes') }}


3.4k
Accepted
answer
{{ linkto('section/show/' ~ section.id ~'/'~ section.title ~'/'~ section.somethingElse, 'Show Classes') }}

Thank you Nikolay Mihaylov :)