test updates
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp / Controller / Config.pm
index 31c480a..989828a 100644 (file)
@@ -10,4 +10,9 @@ sub index : Private {
     $c->res->output( $self->{ foo } );
 }
 
+sub appconfig : Global {
+    my ( $self, $c, $var ) = @_;
+    $c->res->body( $c->config->{ $var } );
+}
+
 1;