mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Return new session-content directly after save
This commit is contained in:
@@ -70,12 +70,11 @@ class Contesting extends CI_Controller {
|
||||
}
|
||||
|
||||
public function setSession() {
|
||||
$this->load->model('Contesting_model');
|
||||
$this->load->model('Contesting_model');
|
||||
|
||||
$this->Contesting_model->setSession();
|
||||
|
||||
return json_encode("ok");
|
||||
}
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($this->Contesting_model->getSession());
|
||||
}
|
||||
|
||||
public function create() {
|
||||
$this->load->model('Contesting_model');
|
||||
|
||||
Reference in New Issue
Block a user