From: Sebastian Riedel Date: Mon, 28 Mar 2005 20:17:19 +0000 (+0000) Subject: undo previous change X-Git-Tag: 5.7099_04~1668 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=6d9a6748641a0f523ca6a8790f6797de03733af7 undo previous change --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index b477b4c..ec4842b 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -314,10 +314,7 @@ sub get_action { my $child = $visitor->getResult; my $uid = $child->getUID if $child; my $match = $c->actions->{private}->{$uid}->{$action} if $uid; - if ($match) { - $action eq 'end' ? unshift @results, [$match] : push @results, - [$match]; - } + push @results, [$match] if $match; $parent = $child if $child; } return \@results;