Add render macro to kemal core to have dynamic rendering mechanism. It actually binds built-in ecr parser to the Kemal as a macro.

This commit is contained in:
Fatih Kadir Akın 2015-12-06 16:05:16 +02:00
parent 692939dfe8
commit 945fa59a6c
6 changed files with 73 additions and 1 deletions

1
spec/asset/hello.ecr Normal file
View file

@ -0,0 +1 @@
Hello <%= env.params["name"] %>