Commit 0f28ae4
ARCH-001 Phase 16: fix Comments(GET) 500 — redirect instead of rendering nonexistent view
Copilot review on PR #810: BaseNewsController.Comments(string) returned View()
but no Comments.cshtml exists for News (unlike Blog, which has one). Preexisting
bug carried over from Admin's original NewsController, verified against the
merge-base. The GET action is unreachable via the UI — the Comments tab's grid
calls the POST overload only — so redirect to List instead of leaving a dead
View() call that 500s if ever hit directly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FRztBQVfXimBPMFAioLabo1 parent a6a35b9 commit 0f28ae4
1 file changed
Lines changed: 5 additions & 5 deletions
File tree
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments