Skip to content

Commit

Permalink
Revert "Fixes bug described in #3581"
Browse files Browse the repository at this point in the history
This reverts commit 6c75e36.
  • Loading branch information
henriquebremenkanp committed May 27, 2014
1 parent 6c75e36 commit 952c719
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Cake/Routing/Route/CakeRoute.php
Expand Up @@ -536,10 +536,7 @@ protected function _writeUrl($params) {
$out = str_replace($search, $replace, $out);
}

if (strpos($this->template, '**')) {
$out = str_replace('**', $params['pass'], $out);
}
elseif (strpos($this->template, '*')) {
if (strpos($this->template, '*')) {
$out = str_replace('*', $params['pass'], $out);
}
$out = str_replace('//', '/', $out);
Expand Down

0 comments on commit 952c719

Please sign in to comment.