Commit bf301bc9 by Trần Văn Minh

chỉnh lại redirect

parent 3d46c5af
...@@ -280,11 +280,12 @@ class CmsTrack extends CI_Controller ...@@ -280,11 +280,12 @@ class CmsTrack extends CI_Controller
$this->track_model->add_singer($singer,$track_id); $this->track_model->add_singer($singer,$track_id);
$this->session->set_flashdata('success', 'Thêm ca sĩ vào bài hát thành công'); $this->session->set_flashdata('success', 'Thêm ca sĩ vào bài hát thành công');
}
redirect(base_url().'backend/cmsTrack/showTrack'); redirect(base_url().'backend/cmsTrack/showTrack');
} }
}
public function showTrack($track_id) public function showTrack($track_id)
{ {
$this->_data['track']= $this->track_model->getById($track_id); $this->_data['track']= $this->track_model->getById($track_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment