Reverted previous change
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Dispatcher.pm
index 070f084..acd1b59 100644 (file)
@@ -194,10 +194,12 @@ sub prepare_action {
         }
 
         # If not, move the last part path to args
-
         unshift @args, pop @path;
     }
 
+    $c->log->debug( 'Path is "' . $c->req->match . '"' )
+      if ( $c->debug && $c->req->match );
+
     $c->log->debug( 'Arguments are "' . join( '/', @args ) . '"' )
       if ( $c->debug && @args );
 }