aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/content_type
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-09-17 18:10:25 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-09-17 18:10:25 +0000
commitcaa8a005202b267b75baf521d5f613f3a2bce600 (patch)
treedf72b8673b625b22037895a81b672a8b1650d5a6 /actionpack/test/fixtures/content_type
parent98a412aa3853b9e31b747f53e58a841966df5f1b (diff)
downloadrails-caa8a005202b267b75baf521d5f613f3a2bce600.tar.gz
rails-caa8a005202b267b75baf521d5f613f3a2bce600.tar.bz2
rails-caa8a005202b267b75baf521d5f613f3a2bce600.zip
Added that respond_to blocks will automatically set the content type to be the same as is requested [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/fixtures/content_type')
-rw-r--r--actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml b/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml
new file mode 100644
index 0000000000..25dc746886
--- /dev/null
+++ b/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml
@@ -0,0 +1 @@
+<hello>world</hello> \ No newline at end of file