From: Matt S Trout Date: Mon, 28 Nov 2005 16:46:28 +0000 (+0000) Subject: - Removed erroneous 'die' from Catalyst::Helper X-Git-Tag: 5.7099_04~818 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=89b19d17f2c52fabc04e39c2bba62e7f4935f5ee - Removed erroneous 'die' from Catalyst::Helper --- diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 57a5a2d..00959cb 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -117,7 +117,6 @@ sub mk_component { || eval { @{ [ getpwuid($<) ] }[6] } || 'A clever guy'; $self->{base} ||= File::Spec->catdir( $FindBin::Bin, '..' ); - die $self->{base}; unless ( $_[0] =~ /^(?:model|view|controller)$/i ) { my $helper = shift; my @args = @_;