Consider throwing a MethodNotAllowedHttpException
instead of BadRequestHttpException
for Controller::requirePostRequest
#13397
-
For
instead of the more general:
|
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
Jul 7, 2023
Replies: 1 comment
-
Agree, that’s better. Just made that change for Craft 5 (77a88b3). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Agree, that’s better. Just made that change for Craft 5 (77a88b3).