Currently, I am updating the system running on the existing Symfony 2.3 (currently 3.0.9), and checking the operation.
When I tried to change the state of an item to the selected state, I got an error.
Do you have any advice for determining the case?
Error Code
No route found for "POST /admin/hq/article/3999/articleStatus":
Method Not Allowed (Allow: PUT)
Code
ArticleController.php
/**
* Article status change
*
* @Method("PUT")
* @Route("/article/{ids}/articleStatus")
* @Secure(roles="ROLE_HQ_MANAGE")
*/
public function updateArticleStatusAction(Request $request, $ids)
{
return parent::updateArticleStatusAction($request, $ids);
}
Version
CentOS 6.7
PHP 5.6
Symfony3.0.9