We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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') }}


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

Thank you Nikolay Mihaylov :)