[Bps-public-commit] path-dispatcher-declarative branch, master, updated. 7354308876d1e31000b34a52a353a3faaf013906

Shawn Moore sartak at bestpractical.com
Fri Jun 18 17:00:07 EDT 2010


The branch, master has been updated
       via  7354308876d1e31000b34a52a353a3faaf013906 (commit)
      from  680b1e727bfb1744e41b4e39e8e0a7b6aa807d65 (commit)

Summary of changes:
 lib/Path/Dispatcher/Declarative/Builder.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7354308876d1e31000b34a52a353a3faaf013906
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Jun 18 17:01:01 2010 -0400

    Pass $UNDER_RULE to the body block

diff --git a/lib/Path/Dispatcher/Declarative/Builder.pm b/lib/Path/Dispatcher/Declarative/Builder.pm
index a89bd65..e737ea7 100644
--- a/lib/Path/Dispatcher/Declarative/Builder.pm
+++ b/lib/Path/Dispatcher/Declarative/Builder.pm
@@ -119,7 +119,7 @@ sub under {
 
     do {
         local $UNDER_RULE = $under;
-        $rules->();
+        $rules->($UNDER_RULE);
     };
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list