aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2009-11-04 15:16:58 +0000
committermatthew <matthew>2009-11-04 15:16:58 +0000
commitc2bf72b2eeda3a6fb1cf77fb9aedbdf424914dfd (patch)
tree65780cec6bc637383ebd9c5ae3b6305b97f68b6b /web/index.cgi
parenta9497797dfff93014f73292534297494dcf5f634 (diff)
Remove unneeded front_page hook, can call template code directly.
Template possibility for check email step.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 18081a678..987f437b3 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.309 2009-11-04 14:22:57 matthew Exp $
+# $Id: index.cgi,v 1.310 2009-11-04 15:16:59 matthew Exp $
use strict;
use Standard;
@@ -119,7 +119,7 @@ sub front_page {
form_action => $form_action,
question => $question,
);
- my $cobrand_front_page = Cobrand::front_page($cobrand, $q, %vars);
+ my $cobrand_front_page = Page::template_include('front-page', $q, Page::template_root($q), %vars);
return $cobrand_front_page if $cobrand_front_page;
my $out = '<p id="expl"><strong>' . _('Report, view, or discuss local problems') . '</strong>';