diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-03-31 18:18:11 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-03-31 18:53:27 +0200 |
commit | 48404a751d7cab1556c390a5915c90947d56b46e (patch) | |
tree | 0c28195bb20eb05c8cb745a7218570d4d292fc71 /actionpack/test/fixtures | |
parent | 9766997f4ce26fe0d97d7b9eebf885ddb517c80c (diff) | |
download | rails-48404a751d7cab1556c390a5915c90947d56b46e.tar.gz rails-48404a751d7cab1556c390a5915c90947d56b46e.tar.bz2 rails-48404a751d7cab1556c390a5915c90947d56b46e.zip |
only try to display an api template in responders if the request is a get or there are no errors
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb b/actionpack/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb new file mode 100644 index 0000000000..bf5869ed22 --- /dev/null +++ b/actionpack/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb @@ -0,0 +1 @@ +<content>I should not be displayed</content>
\ No newline at end of file |