Added routes
This commit is contained in:
@@ -11,8 +11,16 @@ if(isLogin()){
|
||||
$group->group_amount = $_POST['groupAmount'];
|
||||
$group->game_jam_id = $_POST['gameJamId'];
|
||||
$group->save();
|
||||
header("location: ../../../Frontend/index.html?success=YouHaveUpdated");
|
||||
exit();
|
||||
}
|
||||
}else{
|
||||
header("location: ../../../Frontend/index.html?error=CouldNotUpdate");
|
||||
exit();
|
||||
}
|
||||
}else{
|
||||
header("location: ../../../Frontend/index.html?error=NotLogin");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user