X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FRouteMatching.pod;h=9ca71abea125190da94fd91017f9dd71cfe9b636;hp=3d26706b30484f9c0eaba30ba4c3bf5e6a5ad676;hb=HEAD;hpb=79fb8f95180a06c51de7f0fde227927b5d864a7f diff --git a/lib/Catalyst/RouteMatching.pod b/lib/Catalyst/RouteMatching.pod index 3d26706..9ca71ab 100644 --- a/lib/Catalyst/RouteMatching.pod +++ b/lib/Catalyst/RouteMatching.pod @@ -136,7 +136,7 @@ the L library that is packaged with L: use Moose; use MooseX::MethodAttributes; use Types::Standard qw/StrMatch Int/; - + extends 'Catalyst::Controller'; sub looks_like_a_date :Path('') Args(StrMatch[qr{\d\d-\d\d-\d\d}]) { @@ -296,7 +296,7 @@ actions. The only difference is that you may declare type constraints on Captur well as Args. For Example: use Types::Standard qw/Int Tuple/; - + sub chain_base :Chained(/) CaptureArgs(1) { } sub any_priority_chain :GET Chained(chain_base) PathPart('') Args(1) { } @@ -308,7 +308,7 @@ well as Args. For Example: sub any_priority_link_any :Chained(link_any) PathPart('') Args(1) { } sub int_priority_link_any :Chained(link_any) PathPart('') Args(Int) { } - + sub link_int :Chained(chain_base) PathPart('') CaptureArgs(Int) { } sub any_priority_link :Chained(link_int) PathPart('') Args(1) { }