diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2017-03-05 12:45:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 12:45:23 -0500 |
commit | d731d6366ae68c790ef79ff66b2d2d41f5767cc3 (patch) | |
tree | 2833dc40702fcf921edc77033fdc154a489dfa7a /actionpack | |
parent | 45b64bb6a837a6405567c94d2b719e232cd56e86 (diff) | |
parent | 660e189c35ddd31fd131c2a360687f39a4ea8081 (diff) | |
download | rails-d731d6366ae68c790ef79ff66b2d2d41f5767cc3.tar.gz rails-d731d6366ae68c790ef79ff66b2d2d41f5767cc3.tar.bz2 rails-d731d6366ae68c790ef79ff66b2d2d41f5767cc3.zip |
Merge pull request #28296 from kamipo/fix_ci_failure
Fix CI failure due to contain <U+2028>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index a3159c29dd..1836a07d4e 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -50,8 +50,8 @@ module ActionController # redirect_to post_url(@post), status: 301, flash: { updated_post_id: @post.id } # redirect_to({ action: 'atom' }, alert: "Something serious happened") # - # Statements after redirect_to in our controller get executed, so redirect_to doesn't stop the execution of the function. -
# To terminate the execution of the function immediately after the redirect_to, use return. + # Statements after +redirect_to+ in our controller get executed, so +redirect_to+ doesn't stop the execution of the function. + # To terminate the execution of the function immediately after the +redirect_to+, use return. # redirect_to post_url(@post) and return def redirect_to(options = {}, response_status = {}) raise ActionControllerError.new("Cannot redirect to nil!") unless options |