16 lines
810 B
Ruby
16 lines
810 B
Ruby
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.buttons "/buttons", :action => "buttons"
|
|
webrat.root :action => "form"
|
|
end
|
|
end
|