Fix the MIME type bug that I introduced when making File assets work with

the exporter properly.
This commit is contained in:
Drake 2006-11-11 00:25:57 +00:00
parent e982302c2a
commit c14b75f606
4 changed files with 29 additions and 6 deletions

View file

@ -156,7 +156,7 @@ sub _exportAsHtml {
} else {
$assetSession->output->setHandle($file);
$assetSession->asset($asset);
my $content = $asset->www_view;
my $content = $asset->exportHtml_view;
unless ($content eq "chunked") {
$assetSession->output->print($content);
}