공통데이터 관리 수정
This commit is contained in:
@@ -16,7 +16,7 @@ class Notice extends BaseController
|
||||
|
||||
public function notice(): string
|
||||
{
|
||||
return view('pages/board/notice');
|
||||
return view('pages/board/notice', $this->data);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ class Notice extends BaseController
|
||||
throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
return view('pages/board/noticeDetail', $data);
|
||||
return view('pages/board/noticeDetail', array_merge($this->data, $data));
|
||||
}
|
||||
|
||||
// 첨부파일 다운로드
|
||||
@@ -103,7 +103,7 @@ class Notice extends BaseController
|
||||
// 공지사항 작성 화면
|
||||
public function write(): string
|
||||
{
|
||||
return view('pages/board/noticeWrite');
|
||||
return view('pages/board/noticeWrite', $this->data);
|
||||
}
|
||||
|
||||
// 공지사항 작성
|
||||
@@ -228,7 +228,7 @@ class Notice extends BaseController
|
||||
}
|
||||
|
||||
|
||||
return view('pages/board/noticeModify', $data);
|
||||
return view('pages/board/noticeModify', array_merge($this->data, $data));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user