Skip to content

Commit

Permalink
Update & rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 11, 2024
1 parent 27b834f commit 9a327a5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/echo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/theme.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/views/components/page/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
])
>
@if ($subNavigation)
<div class="md:hidden">
<div class="contents md:hidden">
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_SUB_NAVIGATION_SELECT_BEFORE, scopes: $this->getRenderHookScopes()) }}
</div>

<x-filament-panels::page.sub-navigation.select
:navigation="$subNavigation"
/>

<div class="md:hidden">
<div class="contents md:hidden">
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_SUB_NAVIGATION_SELECT_AFTER, scopes: $this->getRenderHookScopes()) }}
</div>

Expand Down
14 changes: 14 additions & 0 deletions src/Http/Middleware/AuthenticateSession.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Filament\Http\Middleware;

use Filament\Facades\Filament;
use Illuminate\Session\Middleware\AuthenticateSession as Middleware;

class AuthenticateSession extends Middleware
{
protected function redirectTo($request): ?string
{
return Filament::getLoginUrl();
}
}

0 comments on commit 9a327a5

Please sign in to comment.