Merge the branch which gives ->req->remote_user without the deprecation code which...
[catagits/Catalyst-Runtime.git] / t / lib / DeprecatedTestApp / C / Root.pm
CommitLineData
19a24dbb 1package DeprecatedTestApp::C::Root;
2use strict;
3use warnings;
4use base qw/Catalyst::Controller/;
5
6__PACKAGE__->config->{namespace} = '';
7
8sub index : Private {
9 my ( $self, $c ) = @_;
10 $c->res->body('root index');
11}
12
8026359e 13sub req_user : Local {
14 my ( $self, $c ) = @_;
15 $c->res->body('REMOTE_USER = ' . $c->req->user);
16}
17
19a24dbb 181;