[Jifty-commit] jifty-plugin-chart branch, master, updated. 11dea9cf5314a1549381e2218b04eab5cddc002f
Jifty commits
jifty-commit at lists.jifty.org
Fri Mar 26 03:01:42 EDT 2010
The branch, master has been updated
via 11dea9cf5314a1549381e2218b04eab5cddc002f (commit)
from 8f654e620172dc2b67df803ea3bf644c5229c68a (commit)
Summary of changes:
lib/Jifty/Plugin/Chart/View.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 11dea9cf5314a1549381e2218b04eab5cddc002f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Mar 26 15:01:49 2010 +0800
remove old handler->apache
diff --git a/lib/Jifty/Plugin/Chart/View.pm b/lib/Jifty/Plugin/Chart/View.pm
index 490a2ff..f55908a 100644
--- a/lib/Jifty/Plugin/Chart/View.pm
+++ b/lib/Jifty/Plugin/Chart/View.pm
@@ -23,7 +23,7 @@ template 'chart/chart' => sub {
my $args = get 'args';
# Set the output type to the PNG file type
- Jifty->handler->apache->content_type('image/png');
+ Jifty->web->response->content_type('image/png');
# Render the chart and output the PNG file generated
eval {
@@ -53,7 +53,7 @@ template 'chart/gd_graph' => sub {
my $args = get 'args';
# Set the output type to the PNG file type
- Jifty->handler->apache->content_type('image/png');
+ Jifty->web->response->content_type('image/png');
# Render the chart and output the PNG file generated
eval {
@@ -85,7 +85,7 @@ template 'chart/xmlswf' => sub {
my $args = get 'args';
# Set the output type to the XML file type
- Jifty->handler->apache->content_type('application/xml');
+ Jifty->web->response->content_type('application/xml');
# The KeyAttr thing is a bloody hack to get ordering right
my $xml = $args->{class}->new(
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list