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=e5f567c77d324d6da4d343d5c22e3dd84521a0ea;hp=06df60186af73e1310e93a760fafea22c465123a;hb=6a226ee3384511ecfe42baf99ed67f9b90469b70;hpb=a31cd01994ed409b67f2fbd85d56c5e2b11c2f17 diff --git a/lib/Catalyst/RouteMatching.pod b/lib/Catalyst/RouteMatching.pod index 06df601..e5f567c 100644 --- a/lib/Catalyst/RouteMatching.pod +++ b/lib/Catalyst/RouteMatching.pod @@ -87,10 +87,11 @@ is a simple example: use Moose; use MooseX::MethodAttributes; + use MooseX::Types::Moose qw(Int); extends 'Catalyst::Controller'; - sub find :Path('') Args('Int') { + sub find :Path('') Args(Int) { my ($self, $c, $int) = @_; }