[Bps-public-commit] r16457 - in Path-Dispatcher/trunk: lib/Path/Dispatcher

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 21 17:09:48 EDT 2008


Author: sartak
Date: Tue Oct 21 17:09:48 2008
New Revision: 16457

Modified:
   Path-Dispatcher/trunk/   (props changed)
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm

Log:
 r74330 at onn:  sartak | 2008-10-21 17:09:45 -0400
 Pass on args


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm	Tue Oct 21 17:09:48 2008
@@ -75,7 +75,7 @@
                 local $OUTERMOST_DISPATCHER = $dispatcher
                     if !$OUTERMOST_DISPATCHER;
                 my $path = ref($to) eq 'CODE' ? $to->() : $to;
-                $OUTERMOST_DISPATCHER->run($path);
+                $OUTERMOST_DISPATCHER->run($path, @_);
             };
             $into->_add_rule('on', $from, $rewrite);
         },



More information about the Bps-public-commit mailing list