public Method

TestProcess.build_request_uri(action, parameters)

There's no documentation for this item.

Source Code

# File action_controller/test_process.rb, line 441
def build_request_uri(action, parameters)
  unless @request.env['REQUEST_URI']
    options = @controller.send!(:rewrite_options, parameters)
    options.update(:only_path => true, :action => action)

    url = ActionController::UrlRewriter.new(@request, parameters)
    @request.set_REQUEST_URI(url.rewrite(options))
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.