lundi 28 mars 2016

embed {{link-to}} inside html tag

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




Aucun commentaire:

Enregistrer un commentaire