webrat/spec/integration/merb/app/controllers/testing.rb

19 lines
204 B
Ruby
Raw Normal View History

class Testing < Application
2009-04-08 00:30:12 +00:00
def show_form
render
end
2009-04-08 00:30:12 +00:00
def submit_form
end
2009-04-08 00:30:12 +00:00
2009-01-05 04:56:52 +00:00
def internal_redirect
redirect "/"
end
2009-04-08 00:30:12 +00:00
2009-01-05 04:56:52 +00:00
def external_redirect
redirect "http://google.com"
end
2009-04-08 00:30:12 +00:00
end