22-05-2026 Optimierung der User und Admin Panels
This commit is contained in:
parent
d2ba22c0cf
commit
e8c47b7553
73 changed files with 10282 additions and 1546 deletions
|
|
@ -20,8 +20,8 @@ Route::get('dashboard', DashboardController::class)
|
|||
// Nutzer-eigene Einstellungen (kein Admin erforderlich)
|
||||
// ========================================
|
||||
Route::middleware(['auth', 'verified'])->group(function () {
|
||||
Route::redirect('settings', 'settings/profile');
|
||||
Volt::route('settings/profile', 'settings.profile')->name('settings.profile');
|
||||
Route::redirect('settings', '/admin/me/profile');
|
||||
Route::redirect('settings/profile', '/admin/me/profile')->name('settings.profile');
|
||||
Volt::route('settings/password', 'settings.password')->name('settings.password');
|
||||
Volt::route('settings/appearance', 'settings.appearance')->name('settings.appearance');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
|
||||
use App\Console\Commands\PublishScheduledPressReleases;
|
||||
use App\Console\Commands\PurgeExpiredPressReleaseDrafts;
|
||||
use App\Console\Commands\PurgeMagicLinks;
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
|
|
@ -27,3 +28,14 @@ Schedule::command(PurgeExpiredPressReleaseDrafts::class, ['--days=180'])
|
|||
->at('04:00')
|
||||
->withoutOverlapping()
|
||||
->runInBackground();
|
||||
|
||||
// ========================================
|
||||
// Geplante PM-Veröffentlichung
|
||||
// ========================================
|
||||
|
||||
// PM mit scheduled_at <= now & Status review automatisch veröffentlichen.
|
||||
// Läuft alle 5 Min — passt zum FormRule "scheduled_at min. 5 Min in Zukunft".
|
||||
Schedule::command(PublishScheduledPressReleases::class)
|
||||
->everyFiveMinutes()
|
||||
->withoutOverlapping()
|
||||
->runInBackground();
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ Route::middleware(['auth', 'verified', EnsureUserIsCustomer::class, LogSlowAdmin
|
|||
Volt::route('press-releases/{id}/edit', 'customer.press-releases.edit')->name('press-releases.edit');
|
||||
|
||||
Volt::route('firmen', 'customer.press-kits.index')->name('press-kits.index');
|
||||
Volt::route('firmen/anlegen', 'customer.press-kits.create')->name('press-kits.create');
|
||||
Volt::route('firmen/{id}', 'customer.press-kits.show')->name('press-kits.show');
|
||||
Route::redirect('pressemappen', '/admin/me/firmen', 301);
|
||||
Route::get('pressemappen/{id}', fn (string $id) => redirect("/admin/me/firmen/{$id}", 301))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue