ActionChains part attribute doesn't need a default.
Florian Ragwitz [Mon, 8 Sep 2008 13:25:46 +0000 (13:25 +0000)]
lib/Catalyst/ActionContainer.pm

index bb1bbac..2f98be1 100644 (file)
@@ -17,7 +17,7 @@ to represent the various dispatch points in your application.
 
 use Moose;
 
-has part => (is => 'rw', required => 1, lazy => 1, default => sub { {} });
+has part => (is => 'rw', required => 1);
 has actions => (is => 'rw', required => 1, lazy => 1, default => sub { {} });
 
 around new => sub {