Skip to content

Commit

Permalink
Changed the generateUrl() method to protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
enyo committed Feb 9, 2012
1 parent 2e9351f commit f1883e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Router/DefaultRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private function interpretUrlArguments($targetControllerName, array $arguments)
* @param string $error
* @param string $success
*/
private function generateUrl($targetControllerName, $action, array $actionParameters, array $get, $error = null, $success = null) {
protected function generateUrl($targetControllerName, $action, array $actionParameters, array $get, $error = null, $success = null) {
$targetControllerName = rawurlencode($targetControllerName);

if (count($actionParameters) === 0 && $action === 'index') $action = null;
Expand Down

0 comments on commit f1883e5

Please sign in to comment.