projects
/
catagits/Catalyst-Plugin-ConfigLoader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
test updates
[catagits/Catalyst-Plugin-ConfigLoader.git]
/
t
/
lib
/
TestApp
/
Controller
/
Config.pm
diff --git
a/t/lib/TestApp/Controller/Config.pm
b/t/lib/TestApp/Controller/Config.pm
index
31c480a
..
989828a
100644
(file)
--- a/
t/lib/TestApp/Controller/Config.pm
+++ b/
t/lib/TestApp/Controller/Config.pm
@@
-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;