Herzen, Reichweite und App-Anbindung (0.30.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m10s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 6m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m33s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m25s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 7m28s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 7m27s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m26s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m27s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 44s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m12s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 12:24:11 +00:00
parent d9fcc7a9b4
commit b3e2b525e1
161 changed files with 1249 additions and 342 deletions

View file

@ -4,11 +4,14 @@ use Illuminate\Support\Facades\Route;
use Inhaus\Plugins\News\Http\Controllers\NewsCommentController;
use Inhaus\Plugins\News\Http\Controllers\NewsController;
use Inhaus\Plugins\News\Http\Controllers\NewsEditorController;
use Inhaus\Plugins\News\Http\Controllers\NewsLikeController;
Route::middleware('auth')->group(function () {
Route::get('/neuigkeiten', [NewsController::class, 'index'])->name('news.index');
Route::get('/neuigkeiten/{post:slug}', [NewsController::class, 'show'])->name('news.show');
Route::post('/neuigkeiten/{post:slug}/kommentare', [NewsCommentController::class, 'store'])->middleware('throttle:20,1')->name('news.comments.store');
Route::post('/neuigkeiten/{post:slug}/herz', [NewsLikeController::class, 'store'])->middleware('throttle:60,1')->name('news.like');
Route::delete('/neuigkeiten/{post:slug}/herz', [NewsLikeController::class, 'destroy'])->middleware('throttle:60,1')->name('news.unlike');
Route::put('/kommentare/{comment}', [NewsCommentController::class, 'update'])->name('news.comments.update');
Route::delete('/kommentare/{comment}', [NewsCommentController::class, 'destroy'])->name('news.comments.destroy');