From: Dmitry Latin Date: Wed, 13 May 2015 20:09:43 +0000 (+0300) Subject: Fix arg constraints example in doc X-Git-Tag: 5.90094~4^2~5^2^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=6a226ee3384511ecfe42baf99ed67f9b90469b70 Fix arg constraints example in doc --- 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) = @_; }