X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FRegex.pm;h=a1224c594212cc4f65701bcf84de698af6c15381;hp=975aebb1ca7f919464f47233782d619948c3f52d;hb=11bd4e3eaa29685c44318041381621e79c4a5f44;hpb=a9cbd748a5bef5badba4a3f012e5df75cccd60ca diff --git a/lib/Catalyst/DispatchType/Regex.pm b/lib/Catalyst/DispatchType/Regex.pm index 975aebb..a1224c5 100644 --- a/lib/Catalyst/DispatchType/Regex.pm +++ b/lib/Catalyst/DispatchType/Regex.pm @@ -54,7 +54,7 @@ sub match { $c->req->match($path); $c->req->snippets( \@snippets ); $c->action( $compiled->{action} ); - $c->namespace( $compiled->{action}->prefix ); + $c->namespace( $compiled->{action}->namespace ); return 1; } }