summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-05-12 07:23:54 -0700
committerJesse Morgan <jesse@jesterpm.net>2015-05-12 07:23:54 -0700
commitd4e0c770e3a79e5f36ce974f3ed4dd4834639f4f (patch)
treeb0e5399e5402ecee9357b4a93432486d3f985fb8 /src/com/p4square/grow/frontend
parent0651218eb462765d75ed8c43fc2f90275dedf568 (diff)
Fixing undefined reference to config on error page.
Diffstat (limited to 'src/com/p4square/grow/frontend')
-rw-r--r--src/com/p4square/grow/frontend/GrowFrontend.java3
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();