removed last; so that _local config will be processed v0.06
Brian Cassidy [Wed, 26 Apr 2006 12:00:04 +0000 (12:00 +0000)]
Changes
lib/Catalyst/Plugin/ConfigLoader.pm

diff --git a/Changes b/Changes
index 28c3b30..b0194a7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Catalyst::Plugin::ConfigLoader.\r
 \r
+0.06  Wed Apr 26 2006\r
+    - remove "last;" so that _local configs will be processed\r
+\r
 0.05  Thu Apr 18 2006\r
     - __HOME__ now corresponds to $c->path_to( '' ) and nothing else\r
     - __path_to( 'foo/bar' )__ turns in to $c->path_to( 'foo', 'bar' )\r
index f073ccf..c50c0f5 100644 (file)
@@ -10,7 +10,7 @@ use Module::Pluggable::Fast
     require => 1;\r
 use Data::Visitor::Callback;\r
 \r
-our $VERSION = '0.05';\r
+our $VERSION = '0.06';\r
 \r
 =head1 NAME\r
 \r
@@ -68,10 +68,7 @@ sub setup {
         for( @files ) {\r
             next unless -f $_;\r
             my $config = $loader->load( $_ );\r
-            if( $config ) {\r
-                $c->config( $config );\r
-                last;\r
-            }\r
+            $c->config( $config ) if $config;\r
         }\r
     }\r
 \r