From d8f7264898d59a261c0e65e525502143259415ad Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 8 Jun 2016 21:29:32 -0400 Subject: Create blank view for groups Finish initializing the Obj MVC by writing an empty view/action for groups. --- app/controller/obj.control.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/controller') diff --git a/app/controller/obj.control.php b/app/controller/obj.control.php index f341b48..08172b5 100644 --- a/app/controller/obj.control.php +++ b/app/controller/obj.control.php @@ -34,14 +34,15 @@ class Obj extends Controller switch ($obj->type) { case "group": - $this->action_group($mod, $argv[0]); + $this->action_group($mod, $obj->guid); break; } } function action_group($mod, $guid) { - /* TODO */ + $mod->initGroup($guid); + include "view/obj/group.view.php"; } } -- cgit v1.2.3