Skip to content

Commit

Permalink
Fix RequestHandler AJAX handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Jan 14, 2015
1 parent c3d23f4 commit 29205f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/RequestHandlerComponent.php
Expand Up @@ -290,7 +290,7 @@ public function beforeRedirect(Event $event, $url, Response $response)
return;
}
if (is_array($url)) {
$url = Router::url($url + ['base' => false]);
$url = Router::url($url + ['_base' => false]);
}
$controller = $event->subject();
$response->body($controller->requestAction($url, [
Expand Down

0 comments on commit 29205f1

Please sign in to comment.