[Bps-public-commit] Path-Dispatcher branch, master, updated. 6ec9f46066d35cf41e34229c32fa6d9daf8c47b8

sartak at bestpractical.com sartak at bestpractical.com
Fri Mar 6 23:30:59 EST 2009


The branch, master has been updated
       via  6ec9f46066d35cf41e34229c32fa6d9daf8c47b8 (commit)
      from  836bc37b35a914279de5441e4a8af05713ddcc8b (commit)

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

- Log -----------------------------------------------------------------
commit 6ec9f46066d35cf41e34229c32fa6d9daf8c47b8
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri Mar 6 23:30:53 2009 -0500

    Oops, wrong class name

diff --git a/lib/Path/Dispatcher.pm b/lib/Path/Dispatcher.pm
index 6631ab6..7995a60 100644
--- a/lib/Path/Dispatcher.pm
+++ b/lib/Path/Dispatcher.pm
@@ -29,7 +29,7 @@ sub dispatch {
     my $path = shift;
 
     # Automatically box paths
-    unless (blessed($path) && $path->isa('Path::Dispatcher::Rule')) {
+    unless (blessed($path) && $path->isa('Path::Dispatcher::Path')) {
         $path = $self->path_class->new(
             path => $path,
         );

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



More information about the Bps-public-commit mailing list