public function process_model($id, $method) {
        $model = $this->Model;
        $record = $this->AdminToolbar->getRecordById($model, $id);

        if (!$record) {
            throw new NotFoundException(__d('admin', '%s Not Found', $this->Model->singularName));
        }

        if ($model->hasMethod($method)) {
            $model->{$method}($id);

            $this->AdminToolbar->logAction(ActionLog::PROCESS, $model, $id, __d('admin', 'Triggered %s.%s() process', array($model->alias, $method)));
            $this->AdminToolbar->setFlashMessage(__d('admin', 'Processed %s.%s() for ID %s', array($model->alias, $method, $id)));

        } else {
            $this->AdminToolbar->setFlashMessage(__d('admin', '%s does not allow this process', $model->singularName), 'is-error');
        }

        $this->redirect($this->referer());
    }