validation docs were in wrong order
[catagits/CatalystX-Declare.git] / 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