Fix regression for relative uri_for arguments after a forward() introduced in 5.7013...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index a4f5eb4..7e828f0 100644 (file)
@@ -10,8 +10,8 @@ Catalyst::Action - Catalyst Action
 
 =head1 SYNOPSIS
 
-       <form action="[%c.uri_for(c.action.reverse)%]">
-       
+    <form action="[%c.uri_for(c.action.reverse)%]">
+
 =head1 DESCRIPTION
 
 This class represents a Catalyst Action. You can access the object for the 
@@ -38,7 +38,6 @@ use overload (
 
 sub dispatch {    # Execute ourselves against a context
     my ( $self, $c ) = @_;
-    local $c->namespace = $self->namespace;
     return $c->execute( $self->class, $self );
 }
 
@@ -109,4 +108,4 @@ Matt S. Trout
 This program is free software, you can redistribute it and/or modify it under
 the same terms as Perl itself.
 
-=cut
\ No newline at end of file
+=cut