Merge the branch which gives ->req->remote_user without the deprecation code which...
[catagits/Catalyst-Runtime.git] / t / lib / DeprecatedTestApp / C / Root.pm
index 7b8b74f..9a3e1d0 100644 (file)
@@ -10,4 +10,9 @@ sub index : Private {
     $c->res->body('root index');
 }
 
+sub req_user : Local {
+    my ( $self, $c ) = @_;
+    $c->res->body('REMOTE_USER = ' . $c->req->user);
+}
+
 1;