From: Matt S Trout Date: Sun, 26 Feb 2006 01:19:57 +0000 (+0000) Subject: Added config->{namespace} X-Git-Tag: 5.7099_04~696 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=1cf67b316803ae09bffed9eee0aaee0e011ce2c0 Added config->{namespace} --- diff --git a/lib/Catalyst/Base.pm b/lib/Catalyst/Base.pm index a8cc036..42f28be 100644 --- a/lib/Catalyst/Base.pm +++ b/lib/Catalyst/Base.pm @@ -80,7 +80,8 @@ Catalyst Base Class sub action_namespace { my ( $self, $c ) = @_; - return Catalyst::Utils::class2prefix( ref $self, + return $self->config->{namespace} if exists $self->config->{namespace}; + return Catalyst::Utils::class2prefix( ref($self) || $self, $c->config->{case_sensitive} ) || ''; }