Delete link not working phoenix

后端 未结 5 1969
遥遥无期
遥遥无期 2021-01-04 11:09

I\'ve used Phoenix\'s built in gen.HTML to generate a simple view but it\'s not working

<%= link \"Delete\", to: event_path(@conn, :delete, event), method         


        
5条回答
  •  Happy的楠姐
    2021-01-04 11:53

    While not the particular solution to OP's issue, this error can also arise if you place

    in the the wrong place in app.html.eex. (For example inside instead of at the end of the body)

提交回复
热议问题