M3: Reorder + Inspiration – Schritt 2 (UI): Planungsliste mit SortableJS, Tagesansicht /mahlzeiten/tage, Inspiration /inspiration mit 'Weitere 5' + 1-Klick-Adopt, Feature-Tests
This commit is contained in:
@@ -63,6 +63,30 @@ mahlzeiten_loeschen:
|
||||
requirements:
|
||||
id: \d+
|
||||
|
||||
# M3: Tagesansicht (alle Mahlzeiten nach Wochentag) + Reorder (Drag & Drop)
|
||||
mahlzeiten_tage:
|
||||
path: /mahlzeiten/tage
|
||||
controller: App\UI\Http\Essen\MahlzeitController::tage
|
||||
methods: [GET]
|
||||
|
||||
mahlzeiten_reorder:
|
||||
path: /mahlzeiten/reorder
|
||||
controller: App\UI\Http\Essen\MahlzeitController::reorder
|
||||
methods: [POST]
|
||||
|
||||
# M3: Inspiration (ADR-006): Vorschläge aus dem Archiv + 1-Klick-Adopt
|
||||
mahlzeiten_inspiration:
|
||||
path: /inspiration
|
||||
controller: App\UI\Http\Essen\MahlzeitController::inspiration
|
||||
methods: [GET]
|
||||
|
||||
mahlzeiten_adopt:
|
||||
path: /mahlzeiten/{id}/adopt
|
||||
controller: App\UI\Http\Essen\MahlzeitController::adopt
|
||||
methods: [POST]
|
||||
requirements:
|
||||
id: \d+
|
||||
|
||||
# M2: Status-Wechsel als htmx-Partial-Endpunkte (Fragment-Antwort)
|
||||
mahlzeiten_checkoff:
|
||||
path: /mahlzeiten/{id}/checkoff
|
||||
|
||||
Reference in New Issue
Block a user