Skip to content

Commit

Permalink
Merge pull request #5620 from bolt/fix/current-in-subfolder
Browse files Browse the repository at this point in the history
Get correct path to compare in 'current' filter, when Bolt is in a subfolder/
  • Loading branch information
GwendolenLynch committed Aug 2, 2016
2 parents fc3454d + 9e04154 commit b7a8a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Handler/RecordHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function current($content)
{
/** @var Request $request */
$request = $this->app['request'];
$requestUri = $request->getPathInfo();
$requestUri = $request->getRequestUri();
$routeParams = $request->get('_route_params');

// If passed a string, and it is in the route.
Expand Down

0 comments on commit b7a8a49

Please sign in to comment.