A lot of things

This commit is contained in:
2026-06-16 16:21:43 +02:00
parent 4f9f6c63b3
commit 7e1e26f20b
126 changed files with 7917 additions and 204 deletions

View File

@@ -14,4 +14,13 @@ class RedirectController extends Controller
return redirect()->route('entries.show', ['section' => $entry->type, 'entry' => $entry])->with('success', "Your report has been sent.");
}
public function newsReportRedirect( Request $request )
{
$id = $request->input('id');
$entry = News::findOrFail($id);
return redirect()->route('news.show', ['news' => $entry])->with('success', "Your report has been sent.");
}
}