Closed Stavrus closed 8 years ago
Thanks for reporting this issue. I believe that it is similar to https://github.com/nurugger07/calliope/issues/44 but I will keep it open for now.
Working now when using string interpolation
Apologies for resurrecting this: I'm still getting (ArgumentError) cannot set attribute @conn inside function/macro
when I use %link{href: "#{ static_path(@conn, "/css/app.css") }", rel: "stylesheet"}
.
@brianflanagan What version of calliope are you using? This should be working in master.
You're right. Ignore me!
Just following up to an issue I mentioned in chrismccord/phoenix_haml#14.
I was trying to convert phoenix's default web/templates/layout/application.html.eex:
Which renders out to something similar to this:
HAML equivalent:
will give the following when I attempt to run it under phoenix 0.13.1:
This was my workaround:
Should I be using a different syntax to make that call?