How to embed link-to inside html button tag ?
This is what i have tried -
<button {{link-to "posts.show" post}}>
Show
</button>
Getting Uncought Error: There is no route named
embercli@model:post::ember506:6
You can set the tagName of the link-to to button instead.
{{link-to 'posts.show' post tagName='button'}}
Show
{{/link-to}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With