Release commit for 0.35
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp / Controller / Config.pm
CommitLineData
a7afecf7 1package TestApp::Controller::Config;
2
3use strict;
4use warnings;
5
6use base qw( Catalyst::Controller );
7
8sub index : Private {
587d381b 9 my ( $self, $c ) = @_;
a7afecf7 10 $c->res->output( $self->{ foo } );
11}
12
c098c4a2 13sub appconfig : Global {
14 my ( $self, $c, $var ) = @_;
15 $c->res->body( $c->config->{ $var } );
16}
17
a7afecf7 181;