Skip to content

Commit 50ce8a4

Browse files
committed
Presenter: added PATCH to $allowedMethods
1 parent c634aab commit 50ce8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Presenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class Presenter extends Control implements Application\IPresenter
7575
public $absoluteUrls = false;
7676

7777
/** @var string[] */
78-
public $allowedMethods = ['GET', 'POST', 'HEAD', 'PUT', 'DELETE'];
78+
public $allowedMethods = ['GET', 'POST', 'HEAD', 'PUT', 'DELETE', 'PATCH'];
7979

8080
/** @var Nette\Application\Request|null */
8181
private $request;

0 commit comments

Comments
 (0)