diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-02-12 02:59:12 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-02-12 02:59:12 +0000 |
commit | b6bc89ee5bc2ea18e4325217b5322bc39a7af9b0 (patch) | |
tree | 7c19b477f7ab7ebaad73999aa31aa2e18de630a1 /lib/Reaction/UI/Window.pm | |
parent | 1bbef043111e0512023ae7b40e48db9825c46f91 (diff) | |
download | reaction-b6bc89ee5bc2ea18e4325217b5322bc39a7af9b0.tar.gz reaction-b6bc89ee5bc2ea18e4325217b5322bc39a7af9b0.zip |
fixed content type setting
Diffstat (limited to 'lib/Reaction/UI/Window.pm')
-rw-r--r-- | lib/Reaction/UI/Window.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Window.pm b/lib/Reaction/UI/Window.pm index cc4f278..6143f90 100644 --- a/lib/Reaction/UI/Window.pm +++ b/lib/Reaction/UI/Window.pm @@ -56,9 +56,9 @@ class Window which { implements flush_view => as { my ($self) = @_; my $res = $self->ctx->res; + $res->content_type($self->content_type); return if $res->status =~ /^3/ || length($res->body); $res->body($self->view->render_window($self)); - $res->content_type($self->content_type); }; # required by old Renderer::XHTML |