Enhancement: DispatchController duplicates template render logic #102

Open
opened 2026-05-29 05:30:33 +00:00 by jmiller · 1 comment
Owner

Audit Finding M-3

Severity: Low

Issue:
DispatchController has its own template rendering code instead of using CrossPostDispatcher::renderTemplate(). This means template changes need to be maintained in two places.

Fix: Refactor to call CrossPostDispatcher::renderTemplate() or CrossPostDispatcher::dispatch().

Files: DispatchController.php

Label: priority: low, type: chore

## Audit Finding M-3 **Severity:** Low **Issue:** `DispatchController` has its own template rendering code instead of using `CrossPostDispatcher::renderTemplate()`. This means template changes need to be maintained in two places. **Fix:** Refactor to call `CrossPostDispatcher::renderTemplate()` or `CrossPostDispatcher::dispatch()`. **Files:** `DispatchController.php` **Label:** `priority: low`, `type: chore`
Author
Owner

Branch created: feature/102-enhancement-dispatchcontroller-duplicate

git fetch origin
git checkout feature/102-enhancement-dispatchcontroller-duplicate
Branch created: [`feature/102-enhancement-dispatchcontroller-duplicate`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/102-enhancement-dispatchcontroller-duplicate) ```bash git fetch origin git checkout feature/102-enhancement-dispatchcontroller-duplicate ```
Sign in to join this conversation.
Type Enhancement
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#102