[Catalyst-commits] r6686 - in branches: .
templated_conversion/Catalyst-View-MicroMason/lib/Catalyst/View
jrockway at dev.catalyst.perl.org
jrockway at dev.catalyst.perl.org
Sat Aug 18 22:16:42 GMT 2007
Author: jrockway
Date: 2007-08-18 22:16:42 +0100 (Sat, 18 Aug 2007)
New Revision: 6686
Modified:
branches/
branches/templated_conversion/Catalyst-View-MicroMason/lib/Catalyst/View/MicroMason.pm
Log:
r28474 at foo: jon | 2007-08-18 15:41:00 -0500
only arrayrefs are bad; Path::Class refs are fine
Property changes on: branches
___________________________________________________________________
Name: svk:merge
- d7608cd0-831c-0410-93c0-e5b306c3c028:/local/Catalyst-branches:28472
+ d7608cd0-831c-0410-93c0-e5b306c3c028:/local/Catalyst-branches:28474
Modified: branches/templated_conversion/Catalyst-View-MicroMason/lib/Catalyst/View/MicroMason.pm
===================================================================
--- branches/templated_conversion/Catalyst-View-MicroMason/lib/Catalyst/View/MicroMason.pm 2007-08-18 11:06:35 UTC (rev 6685)
+++ branches/templated_conversion/Catalyst-View-MicroMason/lib/Catalyst/View/MicroMason.pm 2007-08-18 21:16:42 UTC (rev 6686)
@@ -63,7 +63,7 @@
$self->template_root ||
$c->config->{root};
- if (ref $root && @$root > 1) {
+ if (ref $root eq 'ARRAY' && @$root > 1) {
die "Catalyst::View::MicroMason only supports one entry in ".
"the INCLUDE_PATH or template_root.";
}
More information about the Catalyst-commits
mailing list