projects
/
catagits/Catalyst-Engine-STOMP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f3b2b6e
)
Unfuck my subtypes patch, duh. Tests now pass again.
Tomas Doran (t0m) [Wed, 8 Jul 2009 12:28:36 +0000 (13:28 +0100)]
lib/Catalyst/Controller/MessageDriven.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Controller/MessageDriven.pm
b/lib/Catalyst/Controller/MessageDriven.pm
index
83ec775
..
a259b2f
100644
(file)
--- a/
lib/Catalyst/Controller/MessageDriven.pm
+++ b/
lib/Catalyst/Controller/MessageDriven.pm
@@
-50,7
+50,7
@@
Serializes the response from C<< $c->stash->{response} >>
=cut
class_type 'Data::Serializer';
-my $serializer_t = subtype 'Data::Serializer';
+my $serializer_t = subtype 'Data::Serializer', where { 1 };
coerce $serializer_t, from 'Str',
via { Data::Serializer->new( serializer => $_ ) };