projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a31cd01
)
Fix arg constraints example in doc
Dmitry Latin [Wed, 13 May 2015 20:09:43 +0000 (23:09 +0300)]
lib/Catalyst/RouteMatching.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/RouteMatching.pod
b/lib/Catalyst/RouteMatching.pod
index
06df601
..
e5f567c
100644
(file)
--- 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) = @_;
}