[−][src]Function sharp_pencil::helpers::redirect
pub fn redirect(location: &str, code: u16) -> PencilResult
Returns a response that redirects the client to the target location.
pub fn redirect(location: &str, code: u16) -> PencilResult
Returns a response that redirects the client to the target location.