aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-09-07 07:33:26 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-09-07 07:33:26 +0530
commit2352fcc1627673d2aa1d8808877c5c2b6e1e9a4f (patch)
treee67c5c5060ade69bb8c654eaf7c7f53f562e7b8c
parentb4dac34508dfa492da69be25321c8f31d5f77b8f (diff)
downloadrails-2352fcc1627673d2aa1d8808877c5c2b6e1e9a4f.tar.gz
rails-2352fcc1627673d2aa1d8808877c5c2b6e1e9a4f.tar.bz2
rails-2352fcc1627673d2aa1d8808877c5c2b6e1e9a4f.zip
:nail_care: [ci skip]
-rw-r--r--guides/source/layouts_and_rendering.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index efd5b4638e..3d231194c6 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -630,7 +630,7 @@ to use in this case.
redirect_back(fallback_location: root_path)
```
-NOTE: `redirect_to` and `redirect_back` do not halt and return immediately from method execution, but simply set HTTP responses. Statements occurring after them in a method will be executed. You need halt by an explicit `return` or some other halting mechanism, if needed.
+NOTE: `redirect_to` and `redirect_back` do not halt and return immediately from method execution, but simply set HTTP responses. Statements occurring after them in a method will be executed. You can halt by an explicit `return` or some other halting mechanism, if needed.
#### Getting a Different Redirect Status Code