aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-10 20:21:08 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-10 20:21:08 +0100
commitd2e7c1b97d1c2152eeb0669fe0b88989a087246c (patch)
treee9de0209cc1db822b773ab3c1e9480473f742364 /actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb
parent8d72ba51bac75e44ca86fafbcab54eab7a355d29 (diff)
downloadrails-d2e7c1b97d1c2152eeb0669fe0b88989a087246c.tar.gz
rails-d2e7c1b97d1c2152eeb0669fe0b88989a087246c.tar.bz2
rails-d2e7c1b97d1c2152eeb0669fe0b88989a087246c.zip
Raise an error if respond_with is invoked and no format is declared.
Diffstat (limited to 'actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb')
-rw-r--r--actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb b/actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb
new file mode 100644
index 0000000000..6769dd60bd
--- /dev/null
+++ b/actionpack/test/fixtures/respond_with/using_resource_with_block.html.erb
@@ -0,0 +1 @@
+Hello world! \ No newline at end of file