<FromGitter>
<andrewc910> I spent all morning trying to come up with a solution. I was hoping to put the current render method into a new class but i don't think it can be done. Well at least my implementation. The current `render` has to be called with a direct string: ⏎ ⏎ ```def index ⏎ t = "index.slang" ⏎ render(t) ⏎ end``` ⏎ ⏎ I always forget this nuance of macros. Makes me sad
<FromGitter>
<Blacksmoke16> not sure if the macro would have access to the method's annotations, id imagine it would tho
<FromGitter>
<andrewc910> ```code paste, see link``` ⏎ ⏎ Here is a quick example. We have discussed this before on a different problem :/ ⏎ ⏎ Everything else i can think of in terms of creating a new scope, would create a new scope but would still have access to the controller. [https://gitter.im/amberframework/amber?at=5f048fd46e1b8050c3db5e35]
<FromGitter>
<andrewc910> Kilt & ECR uses macros so everything between "render" in the controller and hitting `ECR.embed` needs to be a macro. Because everything is macros, idk how to create a new scope :(