summaryrefslogtreecommitdiff
path: root/actions/newgroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/newgroup.php')
-rw-r--r--actions/newgroup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/newgroup.php b/actions/newgroup.php
index 6bb3eca76..75bc293ec 100644
--- a/actions/newgroup.php
+++ b/actions/newgroup.php
@@ -180,6 +180,8 @@ class NewgroupAction extends Action
}
}
+ $mainpage = common_local_url('showgroup', array('nickname' => $nickname));
+
$cur = common_current_user();
// Checked in prepare() above
@@ -193,6 +195,7 @@ class NewgroupAction extends Action
'location' => $location,
'aliases' => $aliases,
'userid' => $cur->id,
+ 'mainpage' => $mainpage,
'local' => true));
common_redirect($group->homeUrl(), 303);