add all controllers logic

This commit is contained in:
root
2026-03-11 17:53:15 -04:00
parent 3e6c577085
commit 2ef71cc92b
421 changed files with 12009 additions and 5211 deletions
-2
View File
@@ -3,7 +3,6 @@
namespace App\Services\Roles;
use App\Models\UserRole;
use Illuminate\Support\Facades\Session;
class RoleSwitchService
{
@@ -19,7 +18,6 @@ class RoleSwitchService
public function switchRole(string $role): string
{
Session::put('active_role', $role);
return $this->dashboardService->bestDashboardRouteFor([$role]);
}
}