projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
219a0f7
)
import "builder" into the right namespace - thanks, gbhat!
Karen Etheridge [Wed, 31 Aug 2016 22:15:53 +0000 (15:15 -0700)]
lib/Web/Simple/Application.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Web/Simple/Application.pm
b/lib/Web/Simple/Application.pm
index
f72142a
..
65919ad
100644
(file)
--- a/
lib/Web/Simple/Application.pm
+++ b/
lib/Web/Simple/Application.pm
@@
-324,11
+324,10
@@
for use via L<Plack> and L<plackup>. If you want to globally add middleware,
you can override this method:
use Web::Simple 'HelloWorld';
- use Plack::Builder;
{
package HelloWorld;
-
+ use Plack::Builder;
around 'to_psgi_app', sub {
my ($orig, $self) = (shift, shift);