Short hack to allow acting on objects again.
authorGunnar Wrobel <p@rdus.de>
Tue, 12 May 2009 14:56:51 +0000 (16:56 +0200)
committerGunnar Wrobel <p@rdus.de>
Tue, 12 May 2009 14:56:51 +0000 (16:56 +0200)
koward/lib/Koward/Controller/ObjectController.php

index 2bef3ba..61831bf 100644 (file)
@@ -184,6 +184,8 @@ class ObjectController extends Koward_Controller_Application
                             exit;
                         } else if ($this->actions->validate()) {
                             $action = $this->actions->execute();
+                           //FIXME: Hack
+                            $result = $this->object->$action();
 
                             $this->action_url = $this->urlFor(array('controller' => 'object',
                                                                     'action' => 'view',