Permalink
Browse files

Commit forgotten change.

  • Loading branch information...
1 parent 006b691 commit 299a30e2f301ce5f4a7ec384a180046a9b8b651b @FooBarWidget FooBarWidget committed Aug 22, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/stub/rails_apps/mycook/app/controllers/welcome_controller.rb
@@ -48,6 +48,14 @@ def environment
end
render :text => text
end
+
+ def cgi_environment
+ text = ""
+ request.headers.each_pair do |key, value|
+ text << "#{key} = #{value}\n"
+ end
+ render :text => text
+ end
def request_uri
render :text => request.request_uri

0 comments on commit 299a30e

Please sign in to comment.