Browse Source

Cleaning up after route connection.

Mark Story 14 years ago
parent
commit
c35d52eba0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/Cake/Config/routes.php

+ 3 - 0
lib/Cake/Config/routes.php

@@ -81,3 +81,6 @@
 	if ($namedConfig['rules'] === false) {
 		Router::connectNamed(true);
 	}
+
+	unset($namedConfig, $params, $indexParams, $prefix, $prefixes, $shortParams, $match,
+		$pluginPattern, $plugins, $key, $value);