--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: A helper to build a rack response which implements a redirect. The status will be set to the passed in status if passed. If you pass in permanent it will be a 301, permanent redirect, otherwise it defaults to a temporary 302 redirect.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "url<~to_s>:"
    body: The url to redirect to.
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash>:"
    body: A hash of options for the redirect
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: "  status: The status code to use for the redirect\n  permanent:  True if this is a permanent redirect (301)\n"
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Returns
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "<Array>:"
    body: A rack response to redirect to the specified url.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: ":api: plugin"
full_name: Merb::Rack::Helpers::redirect
is_singleton: true
name: redirect
params: (url, options = {})
visibility: public
