Update menu entries and fixes some profile picture problems.

Added help pages too.
This commit is contained in:
2026-06-28 14:07:20 +02:00
parent b562abd271
commit 755554293e
10 changed files with 107 additions and 9 deletions

View File

@@ -9,3 +9,4 @@ Artisan::command('inspire', function () {
Schedule::command('entries:purge-rejected')->daily();
Schedule::command('entries:purge-featured')->daily();
Schedule::command('sitemap:generate')->daily();

View File

@@ -132,3 +132,9 @@ Route::name('redirect.')->controller(\App\Http\Controllers\RedirectController::c
Route::get('/entry/report_redirect', 'entryReportRedirect' )->name('entry_report');
Route::get('/news/report_redirect', 'newsReportRedirect' )->name('news_report');
});
// ShortLinkController
Route::domain('rhpz.org')->name('shorturl.')->controller(\App\Http\Controllers\ShortLinkController::class)->group(function () {
Route::get('/{id}', 'legacy' )->where('id', '[0-9]+')->name('legacy');
Route::get('/{letter}/{id}', 'redirect' )->where(['letter' => '[a-z]', 'id' => '[0-9]+'])->name('redirect');
});