2016-03-28 39 views

回答

10

您也可以设置链接到到按钮的标签名,而不是路径。

{{link-to 'posts.show' post tagName='button'}} 
    Show 
{{/link-to}} 
+0

谢谢你。已经工作 – rinold