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-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
|
|
|
|
2009-05-29 10:07:10 +00:00
|
|
|
webrat.buttons "/buttons", :action => "buttons"
|
2008-12-30 04:14:26 +00:00
|
|
|
webrat.root :action => "form"
|
2008-12-29 06:30:26 +00:00
|
|
|
end
|
2009-06-01 17:17:29 +00:00
|
|
|
map.resource 'links'
|
2008-12-29 06:11:41 +00:00
|
|
|
end
|