Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d75e4b0d5f0e6d0e9102f0a6910ec968bc98b68f 1 parent e595d81
Mark Story markstory authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 cake/libs/router.php
6 cake/libs/router.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.