aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-12-31 01:24:57 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-01-05 01:37:29 +0900
commitc1d1c4bca75f455473a3ac70764ab22bbd8bf1aa (patch)
treefd4530415f849a8ed526cae270f1ab975ac5a0fa /actionpack
parent151895a9d6c1764e57d1d844bd1e6bf37d588b56 (diff)
downloadrails-c1d1c4bca75f455473a3ac70764ab22bbd8bf1aa.tar.gz
rails-c1d1c4bca75f455473a3ac70764ab22bbd8bf1aa.tar.bz2
rails-c1d1c4bca75f455473a3ac70764ab22bbd8bf1aa.zip
No need to :doc: a public method
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/redirecting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb
index 30798c1d99..4dfcf4da28 100644
--- a/actionpack/lib/action_controller/metal/redirecting.rb
+++ b/actionpack/lib/action_controller/metal/redirecting.rb
@@ -50,7 +50,7 @@ module ActionController
# redirect_to post_url(@post), status: 301, flash: { updated_post_id: @post.id }
# redirect_to({ action: 'atom' }, alert: "Something serious happened")
#
- def redirect_to(options = {}, response_status = {}) #:doc:
+ def redirect_to(options = {}, response_status = {})
raise ActionControllerError.new("Cannot redirect to nil!") unless options
raise AbstractController::DoubleRenderError if response_body