lots of progress

This commit is contained in:
2025-02-01 15:31:47 +02:00
parent 1362ceb642
commit 83b90aa7a0
40 changed files with 1046 additions and 44 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Service;
use Illuminate\Support\Facades\Route;
class ToolService
{
public static function isCurrentRoute(
string $routePath
)
{
$currentPath = Route::getCurrentRequest()->path();
$uri = ltrim(str_replace(env('APP_URL'), '', $routePath), '/');
return $currentPath == $uri;
}
}