Skip to content

Commit

Permalink
Minor, make side nav filter view get trailing slashes correct regardl…
Browse files Browse the repository at this point in the history
…ess of input.
  • Loading branch information
epriestley committed Oct 12, 2012
1 parent ce2c054 commit 141b3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/layout/AphrontSideNavFilterView.php
Expand Up @@ -193,7 +193,7 @@ public function render() {

if (empty($item['uri'])) {
$href = clone $this->baseURI;
$href->setPath($href->getPath().$key.'/');
$href->setPath(rtrim($href->getPath().$key, '/').'/');
$href = (string)$href;
} else {
if (empty($item['relative'])) {
Expand Down

0 comments on commit 141b3d2

Please sign in to comment.