From: Brian Cassidy Date: Mon, 12 Jun 2006 12:14:13 +0000 (+0000) Subject: added C/M/V legacy shortcuts X-Git-Tag: v0.1~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-ConfigLoader.git;a=commitdiff_plain;h=6e7f9907fb0873332c04031fce097740f788e07b added C/M/V legacy shortcuts --- diff --git a/Changes b/Changes index d88c2de..bb5ced1 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,9 @@ Revision history for Perl extension Catalyst::Plugin::ConfigLoader. -0.09 Wed May 24 2006 +0.09 Mon Jun 12 2006 - ignore non-ref model/view/controller/component keys - remove hash merging since it is now a core behavior + - added C/M/V legacy shortcuts 0.08 Tue May 23 2006 - added get_config_path() which extracts the path finding code diff --git a/lib/Catalyst/Plugin/ConfigLoader.pm b/lib/Catalyst/Plugin/ConfigLoader.pm index 02a2734..78a4af3 100644 --- a/lib/Catalyst/Plugin/ConfigLoader.pm +++ b/lib/Catalyst/Plugin/ConfigLoader.pm @@ -160,7 +160,7 @@ sub _fix_syntax { grep { ref $config->{ lc $_ } || ref $config->{ $_ } } - qw( Component Model View Controller ) + qw( Component Model M View V Controller C ) ); foreach my $comp ( @components ) {