webrat/spec/integration/rails/config/routes.rb
2009-01-04 23:56:52 -05:00

10 lines
386 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.root :action => "form"
end
end