From 5a4ae4147313f52d50ff3bd9d74340a86175a5d9 Mon Sep 17 00:00:00 2001 From: Bergi Date: Wed, 21 Oct 2015 22:14:39 +0200 Subject: templateBodyCompiler compiles resource body only and becomes the new default, instead of templateCompiler fixes #378 --- web/tutorials/04-compilers.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/tutorials') diff --git a/web/tutorials/04-compilers.markdown b/web/tutorials/04-compilers.markdown index 49935e1..d283e9a 100644 --- a/web/tutorials/04-compilers.markdown +++ b/web/tutorials/04-compilers.markdown @@ -53,10 +53,10 @@ when the template is applied. If you want an actual dollar sign in the output, use `$$`. You usually compile the templates from disk using the aptly named -`templateCompiler`: +`templateBodyCompiler`: ```haskell -match "templates/*" $ compile templateCompiler +match "templates/*" $ compile templateBodyCompiler ``` Notice the lack of `route` here: this is because we don't need to write the -- cgit v1.2.3