From 784e893a0f281ec3b286304dc85f4e94b235e8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 7 Apr 2014 21:19:19 +0200 Subject: [PATCH] Error in the example code of the README Trying your library I found this error rendering a template file, the fix works for me. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a5bffe..42748c2 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ For web apps built on [Ring](https://github.com/ring-clojure/ring) and [Compojur ; params is an optional map that will get passed to clj-jtwig.core/render-resource. this is will ; need to contain any variables you want to use in 'template-filename' (defn render [template-filename & [params]] - (JtwigRenderable. template params)) + (JtwigRenderable. template-filename params)) ``` And then in your routes: