X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestAppIndexDefault%2FController%2FIndexPrivate.pm;fp=t%2Flib%2FTestAppIndexDefault%2FController%2FIndexPrivate.pm;h=08367ff662d371690654f077f994dce07931574f;hp=0000000000000000000000000000000000000000;hb=05b47f2e6357bc7f1622e6b2cf730ad5bbeb993f;hpb=7b442de55a57592a0a9f09db2e85b135bb0c123f diff --git a/t/lib/TestAppIndexDefault/Controller/IndexPrivate.pm b/t/lib/TestAppIndexDefault/Controller/IndexPrivate.pm new file mode 100644 index 0000000..08367ff --- /dev/null +++ b/t/lib/TestAppIndexDefault/Controller/IndexPrivate.pm @@ -0,0 +1,10 @@ +package TestAppIndexDefault::Controller::IndexPrivate; + +use base 'Catalyst::Controller'; + +sub index : Private { + my ($self, $c) = @_; + $c->res->body('index_private'); +} + +1;