Skip to content
Browse files

fix warning

  • Loading branch information...
1 parent c30ee6e commit 0b958670c3d6b27d3d9db614bd477f00fbe3b1e2 Luke Closs committed Jul 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Biopay.pm
View
4 lib/Biopay.pm
@@ -35,7 +35,7 @@ sub is_public_path {
return 0;
}
-before sub {
+hook before => sub {
# XXX hack to try to work around the 596 bug from AE::HTTP
# If this issue persists using other couch instances
# Let AE run until idle.
@@ -85,7 +85,7 @@ for my $page (qw(privacy refunds terms biodiesel-faq news)) {
get "/$page" => sub { template $page };
}
-before_template sub {
+hook before_template => sub {
my $tokens = shift;
$tokens->{info_email_link} = '<a href="mailto:info@vancouverbiodiesel.org">info@vancouverbiodiesel.org</a>';

0 comments on commit 0b95867

Please sign in to comment.
Something went wrong with that request. Please try again.