module Roda::RodaPlugins::Base::ResponseMethods
def redirect(path, status = 302)
response.redirect('foo', 301)
to the given status. Example:
Set the Location header to the given path, and the status
def redirect(path, status = 302) @headers[RodaResponseHeaders::LOCATION] = path @status = status nil end