projects
/
catagits/Catalyst-Controller-WrapCGI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
allow overriding of public cgi-bin paths
[catagits/Catalyst-Controller-WrapCGI.git]
/
t
/
lib
/
TestCGIBin
/
Controller
/
CGIHandler.pm
diff --git
a/t/lib/TestCGIBin/Controller/CGIHandler.pm
b/t/lib/TestCGIBin/Controller/CGIHandler.pm
index
12c4592
..
0e18ee6
100644
(file)
--- a/
t/lib/TestCGIBin/Controller/CGIHandler.pm
+++ b/
t/lib/TestCGIBin/Controller/CGIHandler.pm
@@
-2,6
+2,11
@@
package TestCGIBin::Controller::CGIHandler;
use parent 'Catalyst::Controller::CGIBin';
+sub cgi_path {
+ my ($self, $cgi) = @_;
+ return "my-bin/$cgi";
+}
+
# try out a forward
sub dongs : Local Args(0) {
my ($self, $c) = @_;