Created
August 16, 2013 08:08
-
-
Save Ulv/6248153 to your computer and use it in GitHub Desktop.
Joomla router patch for adding trailing slashes to generated urls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** 397,403 **** | |
//Set query again in the URI | |
$uri->setQuery($query); | |
! $uri->setPath($route); | |
} | |
protected function _processParseRules(&$uri) | |
--- 397,403 ---- | |
//Set query again in the URI | |
$uri->setQuery($query); | |
! $uri->setPath($route . '/'); | |
} | |
protected function _processParseRules(&$uri) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment