)),
array('controller' => 'IPF_Admin_Components_Controller', 'urls' => array(
array('regex' => '([\w\_\-]+)/([\w\_\-]+)/$#i', 'func' => 'listItems'),
- array('regex' => '([\w\_\-]+)/([\w\_\-]+)/reorder/$#i', 'func' => 'reorder'),
+ array('regex' => '([\w\_\-]+)/([\w\_\-]+)/reorder/$#i', 'func' => 'reorder', 'method' => 'POST'),
array('regex' => '([\w\_\-]+)/([\w\_\-]+)/add/$#i', 'func' => 'addItem'),
array('regex' => '([\w\_\-]+)/([\w\_\-]+)/([\w\_\-]+)/$#i', 'func' => 'editItem'),
array('regex' => '([\w\_\-]+)/([\w\_\-]+)/([\w\_\-]+)/delete/$#i', 'func' => 'deleteItem'),
{
$component = $this->getComponent(array('view', 'change'));
- if ($this->request->method != 'POST' || !isset($this->request->POST['ids']) || !is_array($this->request->POST['ids']))
+ if (!isset($this->request->POST['ids']) || !is_array($this->request->POST['ids']))
return new IPF_HTTP_Response_NotFound($request);
if ($component->reorder($this->request->POST['ids']))