projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
update distar url
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestMiddlewareFromPlugin
/
SetMiddleware.pm
1
package TestMiddlewareFromPlugin::SetMiddleware;
2
use strict;
3
use warnings;
4
use File::Spec;
5
use File::Basename ();
6
7
my $config_path = File::Spec->catfile(File::Basename::dirname(__FILE__), 'testmiddlewarefromplugin.pl');
8
9
sub setup {
10
my $c = shift;
11
$c->config(do $config_path);
12
$c->next::method(@_);
13
}
14
15
1;