Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed forward action tracker when relateve path action

  • Loading branch information...
commit 28f4734226b004a3d1fe0c7b9c0821f8ef030d19 1 parent a165b9c
authored July 23, 2006
4  lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
@@ -6,7 +6,7 @@ use Catalyst::Exception;
6 6
 use UNIVERSAL::isa;
7 7
 use YAML;
8 8
 
9  
-our $VERSION = '0.05';
  9
+our $VERSION = '0.06';
10 10
 
11 11
 =head1 NAME
12 12
 
@@ -111,7 +111,7 @@ sub prepare {
111 111
 
112 112
 sub forward {
113 113
     my $c = shift;
114  
-    my $action = $_[0];
  114
+    my $action = $c->dispatcher->_invoke_as_path($c, @_);
115 115
 
116 116
     if ( my $profile = $c->config->{validator}{profiles}{ $action } ) {
117 117
         $c->form(%$profile);

0 notes on commit 28f4734

Please sign in to comment.
Something went wrong with that request. Please try again.