Fix typo in Path dispatch example
Dagfinn Ilmari Mannsåker [Tue, 4 Jun 2013 21:36:10 +0000 (22:36 +0100)]
lib/Catalyst/Controller.pm

index 28b54be..99c2893 100644 (file)
@@ -740,7 +740,7 @@ Handle various types of paths:
     ...
 
     sub myaction1 :Path { ... }  # -> /baz
-    sub myaction2 :Path('foo') { ... } # -> /baz/bar
+    sub myaction2 :Path('foo') { ... } # -> /baz/foo
     sub myaction2 :Path('/bar') { ... } # -> /bar
   }