Skip to content

Commit

Permalink
Merge pull request #52 from rosiel/session-not-set
Browse files Browse the repository at this point in the history
Set session for ajax request.
  • Loading branch information
aOelschlager authored Jul 24, 2024
2 parents bc7c2f6 + b52cbaa commit 353f6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/AjaxBlocksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function respond(Request $request) {
}

$new_request = Request::create($path);
$new_request->setSession($request->getSession());
$request_stack = \Drupal::requestStack();
$processed = $this->pathProcessor->processInbound($new_request->getPathInfo(), $new_request);

Expand Down

0 comments on commit 353f6fc

Please sign in to comment.