redirect (Merb::ControllerMixin)

    # File lib/merb-core/controller/mixins/controller.rb, line 132
        def redirect(url, opts = {})
          default_redirect_options = { :message => nil, :permanent => false }
          opts = default_redirect_options.merge(opts)
          if opts[:message]
            notice = Merb::Parse.escape([Marshal.dump(opts[:message])].pack("m"))
            url = url =~ /\?/ ? "#{url}&_message=#{notice}" : "#{url}?_message=#{notice}"
          end
          self.status = opts[:permanent] ? 301 : 302
          Merb.logger.info("Redirecting to: #{url} (#{self.status})")
          headers['Location'] = url
          "<html><body>You are being <a href=\"#{url}\">redirected</a>.</body></html>"
        end