diff options
author | Malf Furious <m@lfurio.us> | 2016-06-08 21:29:32 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-06-08 21:29:32 -0400 |
commit | d8f7264898d59a261c0e65e525502143259415ad (patch) | |
tree | ac12c63db515a6021367969a0fa333c15a9c3091 /app/controller/obj.control.php | |
parent | 1b24ddb6b12bd85d15beed45476d72678b758128 (diff) | |
download | scrott-d8f7264898d59a261c0e65e525502143259415ad.tar.gz scrott-d8f7264898d59a261c0e65e525502143259415ad.zip |
Create blank view for groups
Finish initializing the Obj MVC by writing an empty view/action for
groups.
Diffstat (limited to '')
-rw-r--r-- | app/controller/obj.control.php | 5 |
1 files changed, 3 insertions, 2 deletions
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"; } } |