Set the session asset, added tests.

This commit is contained in:
Colin Kuskie 2010-08-05 10:58:21 -07:00
parent 3e60133e10
commit 98d3ecc16f
2 changed files with 6 additions and 1 deletions

View file

@ -81,6 +81,7 @@ sub dispatch {
my $fragment = $assetUrl;
$fragment =~ s/$url//;
$session->asset($asset);
my $output = eval { $asset->dispatch($fragment); };
return $output if defined $output;
}