I want to implement the following :
<span {{action 'collapsePanel'}}>
{{#link-to 'otherRoute'}}
Some text
{{/link-to}}
</span>
Okay guys, I solved this thanks to a colleague. This snippet is working exactly as I intended:
{{#link-to "otherRoute"}}
<span {{action "collapsePanel" bubbles=false}}>
Some text
</span>
{{/link-to}}
The key was to set "bubbles=false", which prevents the action from taking over the link behaviour but still allows a click to trigger it.