From: Dagfinn Ilmari Mannsåker Date: Tue, 4 Jun 2013 21:36:10 +0000 (+0100) Subject: Fix typo in Path dispatch example X-Git-Tag: 5.90040~3^2~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c59b922bd1240c3ac989df940b2a38e6e0631f31 Fix typo in Path dispatch example --- diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 28b54be..99c2893 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -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 }