projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
079e838
)
added some documentation of DispatchNode
Christian Walde [Fri, 7 Oct 2011 23:14:07 +0000 (
01:14
+0200)]
lib/Web/Simple/DispatchNode.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Web/Simple/DispatchNode.pm
b/lib/Web/Simple/DispatchNode.pm
index
e32d551
..
36e5e67
100644
(file)
--- a/
lib/Web/Simple/DispatchNode.pm
+++ b/
lib/Web/Simple/DispatchNode.pm
@@
-6,6
+6,7
@@
extends 'Web::Dispatch::Node';
has _app_object => (is => 'ro', init_arg => 'app_object', required => 1);
+# this ensures that the dispatchers get called as methods of the app itself
around _curry => sub {
my ($orig, $self) = (shift, shift);
$self->$orig($self->_app_object, @_);