public function load($resource, $type = null) { $this->actions['nested_move'] = array('path' => '/nested-move/{dragged}/{action}/{dropped}', 'defaults' => array(), 'requirements' => array(), 'methods' => array('GET'), 'controller' => 'list'); return parent::load($resource, $type); }
public function load($resource, $type = null) { $this->actions['nested_append'] = array('pattern' => '/append-node/{source}/to/{to}', 'defaults' => array(), 'requirements' => array(), 'controller' => 'list'); return parent::load($resource, $type); }