Closed moonsungjun closed 5 years ago
수정 완료 개선 전
alert('수정되었습니다.',
'/prq/template/view/'.$this->input->post('bt_no', TRUE).'/page/'.$pages);
개선후
alert('수정되었습니다.',
sprintf('/prq/template/view/bt_template/bt_no/%s/page/%s',
$this->input->post('bt_no', TRUE),
$pages)
);
https://prq.co.kr/prq/template/view/84/page/1
다른페이지 뷰가 나옴