diff --git a/src/flextype/app/Foundation/Cors.php b/src/flextype/app/Foundation/Cors.php index b2a49bb1..eb57632d 100644 --- a/src/flextype/app/Foundation/Cors.php +++ b/src/flextype/app/Foundation/Cors.php @@ -44,7 +44,7 @@ class Cors return; } - $this->app->options('/{routes:.+}', function ($request, $response, $args) { + $this->app->options('/{routes:.+}', function ($request, $response) { return $response; });