diff options
Diffstat (limited to 'src/com/p4square/grow/frontend')
-rw-r--r-- | src/com/p4square/grow/frontend/GrowFrontend.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/p4square/grow/frontend/GrowFrontend.java b/src/com/p4square/grow/frontend/GrowFrontend.java index 37d4984..1d221cc 100644 --- a/src/com/p4square/grow/frontend/GrowFrontend.java +++ b/src/com/p4square/grow/frontend/GrowFrontend.java @@ -77,7 +77,8 @@ public class GrowFrontend extends FMFacade { public synchronized void start() throws Exception { Template errorTemplate = getTemplate("templates/error.ftl"); if (errorTemplate != null) { - ErrorPage.setTemplate(errorTemplate, FreeMarkerPageResource.baseRootObject(getContext())); + ErrorPage.setTemplate(errorTemplate, + FreeMarkerPageResource.baseRootObject(getContext(), this)); } super.start(); |