From 20f2785849bc17b2512465e8bfdb5560803cc9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateus=20Paix=C3=A3o?= Date: Tue, 22 Feb 2011 10:37:59 -0300 Subject: alteracao de HTML para HTTP --- railties/guides/source/layouts_and_rendering.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index 8442a6e257..5bfbf97ea7 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -339,7 +339,7 @@ render :layout => false h6. The +:status+ Option -Rails will automatically generate a response with the correct HTML status code (in most cases, this is +200 OK+). You can use the +:status+ option to change this: +Rails will automatically generate a response with the correct HTTP status code (in most cases, this is +200 OK+). You can use the +:status+ option to change this: render :status => 500 -- cgit v1.2.3