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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Lets you do redirects easily as described in Mongrel::RedirectHandler. You use it inside the configurator like this:"
- !ruby/struct:SM::Flow::VERB 
  body: "  redirect(&quot;/test&quot;, &quot;/to/there&quot;) # simple\n  redirect(&quot;/to&quot;, /t/, 'w') # regexp\n  redirect(&quot;/hey&quot;, /(w+)/) {|match| ...}  # block\n"
full_name: Mongrel::Configurator#redirect
is_singleton: false
name: redirect
params: (from, pattern, replacement = nil, &block)
visibility: public
