projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
test for multiple chained attrs
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Chained.pm
diff --git
a/lib/Catalyst/DispatchType/Chained.pm
b/lib/Catalyst/DispatchType/Chained.pm
index
02f4c21
..
d436983
100644
(file)
--- a/
lib/Catalyst/DispatchType/Chained.pm
+++ b/
lib/Catalyst/DispatchType/Chained.pm
@@
-208,7
+208,7
@@
sub register {
return 0 unless @chained_attr;
- if (@chained_attr > 2) {
+ if (@chained_attr > 1) {
Catalyst::Exception->throw(
"Multiple Chained attributes not supported registering ${action}"
);