original_string: public static function redirect($location, $soft = false) {
  		if(substr($location, 0, 4) !== "http")
  			$location = Configuration::get("dachi.baseURL") . $location;
  
  		self::$render_actions[] = array(
  			"type"     => "redirect",
  			"location" => $location,
  			"soft"     => $soft
  		);
  	}
code: public static function redirect($location, $soft = false) {
  		if(substr($location, 0, 4) !== "http")
  			$location = Configuration::get("dachi.baseURL") . $location;
  
  		self::$render_actions[] = array(
  			"type"     => "redirect",
  			"location" => $location,
  			"soft"     => $soft
  		);
  	}
code_tokens: public static function redirect ( $ location , $ soft = false ) { if ( substr ( $ location , 0 , 4 ) !== "http" ) $ location = Configuration :: get ( "dachi.baseURL" ) . $ location ; self :: $ render_actions [ ] = array ( "type" => "redirect" , "location" => $ location , "soft" => $ soft ) ; }
docstring: Append a redirect action to the render queue.
  
  If $location does not start with "http", the dachi.baseURL configuration value will be prepended
  
  @param  string $location The location to redirect to
  @return null
docstring_tokens: Append a redirect action to the render queue .