Die when helper is not found

This commit is contained in:
vti
2010-06-15 13:42:22 +02:00
parent 1e4eeba737
commit 988d1f954b
2 changed files with 12 additions and 2 deletions
+2
View File
@@ -108,6 +108,8 @@ sub AUTOLOAD {
$method = (split '::' => $method)[-1];
die qq/Unknown helper: $method/ unless $self->ctx->app->renderer->helper->{$method};
return $self->ctx->helper($method => @_);
}