1.1 Prototyp admin/users/table entfernt: Route (war durch admin/users/{id}
ohnehin unerreichbar) + Volt-Komponente table.blade.php geloescht,
ADMIN_ROUTES.md aktualisiert; Regressions-Test in PanelConsolidationTest.
1.2 16 tote Legacy-Wrapper-Views unter resources/views/admin/* geloescht
(nutzten alte Route-Parameter, nirgends via view/@include/@livewire
gerendert); admin.dashboard + .md-Doku behalten.
1.3 Tote Helfer entfernt: EnsureUserIsAdmin redundantes loadMissing('roles'),
ungenutzter statusColor-Key aus with() in admin PR edit/show,
LegacyInvoicePdfController Laufzeit-Schema::hasColumn (Spalte existiert
seit Migration) inkl. Schema-Import.
Volle Suite gruen (794 passed, 1 skipped).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
76 lines
2.5 KiB
Markdown
76 lines
2.5 KiB
Markdown
# Admin-Routes Übersicht
|
|
|
|
**Datei:** `routes/admin.php`
|
|
**Stand:** 23. April 2026
|
|
|
|
---
|
|
|
|
## Aktueller Status
|
|
|
|
- **31 Routen** sind aktiv deklariert.
|
|
- Alle aktiven Volt-Routen zeigen auf vorhandene Komponenten.
|
|
- Nicht vorhandene Volt-Ziele wurden aus dem Routing entfernt und bleiben als Backlog bestehen.
|
|
|
|
---
|
|
|
|
## Aktive Routen
|
|
|
|
### Basis
|
|
- `GET /` → öffentliche Publisher-Landing (`web/pressekonto.blade.php`, Hub-Theme); eingeloggte Admins werden nach Login direkt nach `/dashboard` geleitet.
|
|
- `GET /dashboard` → `dashboard`
|
|
- `GET /settings` (Redirect) → `settings/profile`
|
|
|
|
### Settings
|
|
- `GET /settings/profile` → `settings.profile`
|
|
- `GET /settings/password` → `settings.password`
|
|
- `GET /settings/appearance` → `settings.appearance`
|
|
|
|
### Content
|
|
- `GET /admin/press-releases` → `admin.press-releases.index`
|
|
- `GET /admin/press-releases/create` → `admin.press-releases.create`
|
|
- `GET /admin/press-releases/{id}` → `admin.press-releases.show`
|
|
- `GET /admin/press-releases/{id}/edit` → `admin.press-releases.edit`
|
|
- `GET /admin/categories` → `admin.categories.index`
|
|
|
|
### CRM
|
|
- `GET /admin/companies` → `admin.companies.index`
|
|
- `GET /admin/companies/create` → `admin.companies.create`
|
|
- `GET /admin/companies/{id}` → `admin.companies.show`
|
|
- `GET /admin/companies/{id}/edit` → `admin.companies.edit`
|
|
- `GET /admin/companies/{companyId}/contacts/create` → `admin.companies.contacts.create`
|
|
- `GET /admin/contacts` → `admin.contacts.index`
|
|
- `GET /admin/contacts/create` → `admin.contacts.create`
|
|
- `GET /admin/contacts/{id}/edit` → `admin.contacts.edit`
|
|
|
|
### Billing
|
|
- `GET /admin/invoices` → `admin.invoices.index`
|
|
- `GET /admin/payments` → `admin.payments.index`
|
|
- `GET /admin/coupons` → `admin.coupons.index`
|
|
- `GET /admin/newsletter-sync` → `admin.newsletter.sync`
|
|
|
|
### Administration
|
|
- `GET /admin/users` → `admin.users.index` (gemappt auf Volt-Komponente `admin.users`)
|
|
- `GET /admin/users/create` → `admin.users.create`
|
|
- `GET /admin/users/{id}` → `admin.users.show`
|
|
- `GET /admin/users/{id}/edit` → `admin.users.edit`
|
|
- `GET /admin/roles` → `admin.roles.index`
|
|
- `GET /admin/roles/create` → `admin.roles.create`
|
|
- `GET /admin/roles/{id}/edit` → `admin.roles.edit`
|
|
|
|
---
|
|
|
|
## Backlog (derzeit nicht geroutet)
|
|
|
|
- Kategorien: `create`, `edit`
|
|
- Kontakte: —
|
|
- Rechnungen: `show`
|
|
- Zahlungen: `show`
|
|
- Gutscheine: `create`, `edit`
|
|
- Benutzer: —
|
|
- System: `scheduler`, `newsletter/*` (Kampagnen/Subscriber), `settings`
|
|
|
|
---
|
|
|
|
## Hinweis
|
|
|
|
Bei neuen Volt-Komponenten können die Backlog-Routen gezielt wieder aktiviert werden.
|