projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9c4288e
)
The response no longer needs the context
Tomas Doran [Mon, 31 Oct 2011 18:33:24 +0000 (18:33 +0000)]
lib/Catalyst.pm
patch
|
blob
|
blame
|
history
lib/Catalyst/Response.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
9e77f31
..
3a8e5c3
100644
(file)
--- a/
lib/Catalyst.pm
+++ b/
lib/Catalyst.pm
@@
-2010,7
+2010,6
@@
sub prepare {
# For on-demand data
$c->request->_context($c);
- $c->response->_context($c);
#surely this is not the most efficient way to do things...
$c->stats($class->stats_class->new)->enable($c->use_stats);
diff --git
a/lib/Catalyst/Response.pm
b/lib/Catalyst/Response.pm
index
185dc99
..
68ab474
100644
(file)
--- a/
lib/Catalyst/Response.pm
+++ b/
lib/Catalyst/Response.pm
@@
-43,11
+43,6
@@
has headers => (
required => 1,
lazy => 1,
);
-has _context => (
- is => 'rw',
- weak_ref => 1,
- clearer => '_clear_context',
-);
sub output { shift->body(@_) }