Fix the MIME type bug that I introduced when making File assets work with
the exporter properly.
This commit is contained in:
parent
e982302c2a
commit
c14b75f606
4 changed files with 29 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue