[Bps-public-commit] r17303 - Prophet/trunk/lib/Prophet/Server
jesse at bestpractical.com
jesse at bestpractical.com
Mon Dec 22 19:25:53 EST 2008
Author: jesse
Date: Mon Dec 22 19:25:53 2008
New Revision: 17303
Modified:
Prophet/trunk/lib/Prophet/Server/View.pm
Log:
* keep up with Template::Declare fixes
Modified: Prophet/trunk/lib/Prophet/Server/View.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Server/View.pm (original)
+++ Prophet/trunk/lib/Prophet/Server/View.pm Mon Dec 22 19:25:53 2008
@@ -78,9 +78,9 @@
template head => sub {
my $self = shift;
- my $args = shift;
+ my @args = shift;
head {
- title { shift @$args };
+ title { shift @args };
for ( $self->server->css ) {
link { { rel is 'stylesheet', href is $_, type is "text/css", media is 'screen'} };
}
@@ -91,7 +91,7 @@
};
-template footer => sub {};
+template footer => sub { };
template header => sub {
my $self = shift;
my $args = shift;
More information about the Bps-public-commit
mailing list