Update menu entries and fixes some profile picture problems.
Added help pages too.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user