Skip to content

Commit

Permalink
Removed line related to url script due to BC break of nette/http (net…
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Oct 24, 2016
1 parent 82cfa87 commit 56a27dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function match(Nette\Http\IRequest $httpRequest)

$url = $httpRequest->getUrl();

$path = '/' . preg_replace('/^' . str_replace('/', '\/', preg_quote($url->getBasePath())) . '/', '', $url->getPath());
$path = $url->getPath();

/**
* Build path mask
Expand Down

0 comments on commit 56a27dc

Please sign in to comment.