Skip to content

Commit

Permalink
Merge pull request #4 from adam-hornik/master
Browse files Browse the repository at this point in the history
Request uri without entry file part
  • Loading branch information
ivanbarlog authored Apr 7, 2017
2 parents 65dd947 + 47574fe commit 777b661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Voter/UriVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class UriVoter extends RequestAwareVoter
*/
public function match(Matchable $item): bool
{
return $this->matches($this->getRequest()->getRequestUri(), $item);
return $this->matches($this->getRequest()->getPathInfo(), $item);
}
}

0 comments on commit 777b661

Please sign in to comment.