validation docs were in wrong order
Robert 'phaylon' Sedlacek [Fri, 21 Aug 2009 23:42:41 +0000 (01:42 +0200)]
lib/CatalystX/Declare/Keyword/Action.pm

index 6ec2814..6f0858c 100644 (file)
@@ -586,13 +586,13 @@ not be dispatched to. This means that
 
     under base {
 
-        final as double, action double_string (Str $x) {
-            $ctx->response->body( $x x 2 );
-        }
-
         final as double, action double_integer (Int $x) {
             $ctx->response->body( $x * 2 );
         }
+
+        final as double, action double_string (Str $x) {
+            $ctx->response->body( $x x 2 );
+        }
     }
 
 will return C<foofoo> when called as C</double/foo> and C<46> when called as