Browse Source

Set badge colour for OPTIONS method too

Shalvah 5 năm trước cách đây
mục cha
commit
ccce82cf75
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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',
     ];
 
     /**