Skip to content

Commit

Permalink
Fixed forward action tracker when relateve path action
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Jul 23, 2006
1 parent a165b9c commit 28f4734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
Expand Up @@ -6,7 +6,7 @@ use Catalyst::Exception;
use UNIVERSAL::isa; use UNIVERSAL::isa;
use YAML; use YAML;


our $VERSION = '0.05'; our $VERSION = '0.06';


=head1 NAME =head1 NAME
Expand Down Expand Up @@ -111,7 +111,7 @@ sub prepare {


sub forward { sub forward {
my $c = shift; my $c = shift;
my $action = $_[0]; my $action = $c->dispatcher->_invoke_as_path($c, @_);


if ( my $profile = $c->config->{validator}{profiles}{ $action } ) { if ( my $profile = $c->config->{validator}{profiles}{ $action } ) {
$c->form(%$profile); $c->form(%$profile);
Expand Down

0 comments on commit 28f4734

Please sign in to comment.