Parcourir la source

Set badge colour for OPTIONS method too

Shalvah il y a 5 ans
Parent
commit
ccce82cf75
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/Tools/WritingUtils.php

+ 1 - 0
src/Tools/WritingUtils.php

@@ -14,6 +14,7 @@ class WritingUtils
         'PUT' => 'darkblue',
         'PATCH' => 'purple',
         'DELETE' => 'red',
+        'OPTIONS' => 'grey',
     ];
 
     /**