feat: integrate with htmx

This commit is contained in:
Björn Fromme committed 2024-02-07 10:15:59 +01:00
1 parent 4d1799ca49
commit 1e572606f8
154 files changed
+1447 -1461

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?php
namespace App\Htmx;
use Symfony\Component\HttpFoundation\Response;
class HxRedirectResponse extends Response
{
public function __construct(string $url)
{
return parent::__construct(null, Response::HTTP_OK, ['HX-Redirect' => $url]);
}
}