From ace68817929d24ee9073fd626a3899e61a5ab328 Mon Sep 17 00:00:00 2001 From: kent Date: Sat, 27 Dec 2025 21:12:55 +0900 Subject: [PATCH] =?UTF-8?q?feat(mng):=20=EA=B3=A0=EA=B0=9D=EC=84=BC?= =?UTF-8?q?=ED=84=B0=20=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EB=A6=AC=EB=8B=A4=EC=9D=B4=EB=A0=89=ED=8A=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /customer-center/{code} → /boards/{id}/posts 리다이렉트 - 시스템 게시판(tenant_id=null) + 활성화된 게시판만 대상 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- routes/web.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/routes/web.php b/routes/web.php index 1afb162e..95b5ec2c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -108,6 +108,16 @@ // 고객센터 (활성화된 시스템 게시판 목록) Route::get('/customer-center', [CustomerCenterController::class, 'index'])->name('customer-center.index'); + // 고객센터 게시판 리다이렉트 (board_code → boards/{id}/posts) + Route::get('/customer-center/{code}', function (string $code) { + $board = \App\Models\Boards\Board::where('board_code', $code) + ->whereNull('tenant_id') + ->where('is_active', true) + ->firstOrFail(); + + return redirect()->route('boards.posts.index', $board->id); + })->name('customer-center.board'); + // 시스템 게시판 관리 (Blade 화면만) Route::prefix('boards')->name('boards.')->group(function () { Route::get('/', [BoardController::class, 'index'])->name('index');