Permalink
Browse files

my $env = shift

  • Loading branch information...
1 parent 10ec67d commit 3a38375194b698172c5b1d5dad8c1f17f4e93657 @miyagawa committed Apr 8, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Sunaba/View.pm
View
@@ -46,6 +46,7 @@ my $layout = sub {
template 'index' => sub {
my $skelton_app = <<APP;
my \$app = sub {
+ my \$env = shift;
[ 200, [ "Content-Type", "text/plain" ], [ "Hello World" ] ];
};
APP

0 comments on commit 3a38375

Please sign in to comment.