You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yesterday, after the latest jquery.pjax.js update by composer (from version 2.0.6 to 2.0.7) it seems that by clicking on a \yii\grid\ActionColumn button of a yii\grid\GridView, it act as a pjax GET request also if button/link data-method attribute is set as POST.
So, every "delete" button, whose request needs to be "POST" by default yii2 controller behaviour, results as a
"Method Not Allowed (#405) Method Not Allowed. This url can only handle the following request methods: POST"
Yesterday, after the latest
jquery.pjax.js
update by composer (from version 2.0.6 to 2.0.7) it seems that by clicking on a\yii\grid\ActionColumn
button of ayii\grid\GridView
, it act as a pjax GET request also if button/linkdata-method
attribute is set as POST.So, every "delete" button, whose request needs to be "POST" by default yii2 controller behaviour, results as a
Gridview button html source is:
The text was updated successfully, but these errors were encountered: