mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-26 15:30:15 +00:00
✨ Improve conditional rendering and authentication logic in views
- Updated multiple views to conditionally render actions based on authentication state for a better user experience. - Added login links where actions require authentication.
This commit is contained in:
@@ -43,6 +43,11 @@ Volt::route('welcome', 'welcome')->name('welcome');
|
||||
Route::get('stream-calendar', \App\Http\Controllers\DownloadMeetupCalendar::class)
|
||||
->name('ics');
|
||||
|
||||
Route::middleware(['auth'])
|
||||
->get('dashboard', function () {
|
||||
return redirect('/de/dashboard'); // Zu /de weiterleiten
|
||||
});
|
||||
|
||||
Route::middleware([])
|
||||
->prefix('/{country:code}')
|
||||
->group(function () {
|
||||
|
||||
Reference in New Issue
Block a user