2008-12-29 06:11:41 +00:00
|
|
|
ActionController::Routing::Routes.draw do |map|
|
2008-12-29 06:30:26 +00:00
|
|
|
map.with_options :controller => "webrat" do |webrat|
|
2009-01-05 04:56:52 +00:00
|
|
|
webrat.submit "/submit", :action => "submit"
|
|
|
|
webrat.internal_redirect "/internal_redirect", :action => "internal_redirect"
|
|
|
|
webrat.external_redirect "/external_redirect", :action => "external_redirect"
|
2009-02-09 01:54:00 +00:00
|
|
|
webrat.infinite_redirect "/infinite_redirect", :action => "infinite_redirect"
|
2009-04-25 06:49:11 +00:00
|
|
|
webrat.host_redirect "/host_redirect", :action => "host_redirect"
|
2009-04-08 00:30:12 +00:00
|
|
|
|
2009-01-19 18:56:22 +00:00
|
|
|
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"
|
2009-04-08 00:30:12 +00:00
|
|
|
|
2008-12-30 04:14:26 +00:00
|
|
|
webrat.root :action => "form"
|
2008-12-29 06:30:26 +00:00
|
|
|
end
|
2008-12-29 06:11:41 +00:00
|
|
|
end
|