From c6778f5e7e83ec80fda8c84a06747b5638313d2a Mon Sep 17 00:00:00 2001 From: Anandia Muhammad Yudhistira <anandiamy@gmail.com> Date: Mon, 30 Sep 2019 11:46:31 +0700 Subject: [PATCH] fix : Undefined index: OPTIONS fix undefined index options errorexception --- views/routes.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/routes.blade.php b/views/routes.blade.php index 6c613c0..330ed76 100644 --- a/views/routes.blade.php +++ b/views/routes.blade.php @@ -50,7 +50,7 @@ </tr> </thead> <tbody> - <?php $methodColours = ['GET' => 'success', 'HEAD' => 'default', 'POST' => 'primary', 'PUT' => 'warning', 'PATCH' => 'info', 'DELETE' => 'danger']; ?> + <?php $methodColours = ['GET' => 'success', 'HEAD' => 'default', 'OPTIONS' => 'default', 'POST' => 'primary', 'PUT' => 'warning', 'PATCH' => 'info', 'DELETE' => 'danger']; ?> @foreach ($routes as $route) <tr> <td>