testing
This commit is contained in:
@@ -17,6 +17,7 @@ use App\Models\Esi\EsiScope;
|
||||
use App\Models\Esi\EsiToken;
|
||||
use App\Models\Auth\UserPermission;
|
||||
use App\Models\Auth\UserRole;
|
||||
use App\Models\Auth\User;
|
||||
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
@@ -26,8 +27,8 @@ class DashboardController extends Controller
|
||||
}
|
||||
|
||||
public function displayDashboard() {
|
||||
$currentUser = User::where(['character_id' => auth()->user()->character_id]);
|
||||
|
||||
|
||||
return view('dashboard.dashboard');
|
||||
return view('dashboard.dashboard')->with(['characterId' => $currentUser->character_id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user