Fix arg constraints example in doc
Dmitry Latin [Wed, 13 May 2015 20:09:43 +0000 (23:09 +0300)]
lib/Catalyst/RouteMatching.pod

index 06df601..e5f567c 100644 (file)
@@ -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) = @_;
     }