[Bps-public-commit] r17378 - Prophet/trunk/lib/Prophet
jesse at bestpractical.com
jesse at bestpractical.com
Fri Dec 26 19:34:32 EST 2008
Author: jesse
Date: Fri Dec 26 19:34:32 2008
New Revision: 17378
Modified:
Prophet/trunk/lib/Prophet/Server.pm
Log:
* fix rendering templates with args
Modified: Prophet/trunk/lib/Prophet/Server.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Server.pm (original)
+++ Prophet/trunk/lib/Prophet/Server.pm Fri Dec 26 19:34:32 2008
@@ -231,7 +231,7 @@
sub show_template {
my $self = shift;
my $p = shift;
- my $content = $self->render_template($p);
+ my $content = $self->render_template($p, at _);
if ($content) { return $self->send_content( content_type => 'text/html', content => $content,);}
return undef;
}
More information about the Bps-public-commit
mailing list