Sha256: 0366cfbde25854dedacb886bae465b0da414370b6971d5aa81585b355e67258e

Contents?: true

Size: 758 Bytes

Versions: 2

Compression:

Stored size: 758 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.with_options :controller => "webrat" do |webrat|
    webrat.submit             "/submit",            :action => "submit"
    webrat.internal_redirect  "/internal_redirect", :action => "internal_redirect"
    webrat.external_redirect  "/external_redirect", :action => "external_redirect"
    webrat.infinite_redirect  "/infinite_redirect", :action => "infinite_redirect"

    webrat.before_redirect_form     "/before_redirect_form",    :action => "before_redirect_form"
    webrat.redirect_to_show_params  "/redirect_to_show_params", :action => "redirect_to_show_params"
    webrat.show_params              "/show_params",             :action => "show_params"

    webrat.root :action => "form"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
diabolo-webrat-0.4.4.1 spec/integration/rails/config/routes.rb
diabolo-webrat-0.4.4 spec/integration/rails/config/routes.rb