function redirect($pattern,$url,$permanent=TRUE) {
		if (is_array($pattern)) {
			foreach ($pattern as $item)
				$this->redirect($item,$url,$permanent);
			return;
		}
		$this->route($pattern,function($fw) use($url,$permanent) {
			$fw->reroute($url,$permanent);
		});
	}
function redirect($pattern,$url,$permanent=TRUE) {
		if (is_array($pattern)) {
			foreach ($pattern as $item)
				$this->redirect($item,$url,$permanent);
			return;
		}
		$this->route($pattern,function($fw) use($url,$permanent) {
			$fw->reroute($url,$permanent);
		});
	}
function redirect ( $ pattern , $ url , $ permanent = TRUE ) { if ( is_array ( $ pattern ) ) { foreach ( $ pattern as $ item ) $ this -> redirect ( $ item , $ url , $ permanent ) ; return ; } $ this -> route ( $ pattern , function ( $ fw ) use ( $ url , $ permanent ) { $ fw -> reroute ( $ url , $ permanent ) ; } ) ; }
Redirect a route to another URL
@return NULL
@param $pattern string|array
@param $url string
@param $permanent bool
Redirect a route to another URL