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
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)
app.html.eex