Permalink
Browse files

Updating documentation for Router::normalize(). Refs #486

  • Loading branch information...
1 parent e595d81 commit d75e4b0d5f0e6d0e9102f0a6910ec968bc98b68f @markstory markstory committed Mar 20, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 cake/libs/router.php
View
6 cake/libs/router.php
@@ -1047,9 +1047,11 @@ function reverse($params) {
}
/**
- * Normalizes a URL for purposes of comparison
+ * Normalizes a URL for purposes of comparison. Will strip the base path off
+ * and replace any double /'s. It will not unify the casing and underscoring
+ * of the input value.
*
- * @param mixed $url URL to normalize
+ * @param mixed $url URL to normalize Either an array or a string url.
* @return string Normalized URL
* @access public
* @static

0 comments on commit d75e4b0

Please sign in to comment.