diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2014-10-19 22:06:53 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2014-10-19 22:12:59 +0530 |
commit | 295621e43674e2b70599b1d66c2203f2ed88386c (patch) | |
tree | 435169d4d54385622f48bcf91a45a2b45086ee69 /actionpack/lib/action_controller | |
parent | c33b5e841b54357c1589942dc70192ab0b51fc1e (diff) | |
download | rails-295621e43674e2b70599b1d66c2203f2ed88386c.tar.gz rails-295621e43674e2b70599b1d66c2203f2ed88386c.tar.bz2 rails-295621e43674e2b70599b1d66c2203f2ed88386c.zip |
Make _status_code methods nodoc
- Also one minor change for documenting url_for method in ActionController::Metal.
[ci skip]
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index bfbc15a901..6dd213b2f7 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -165,7 +165,7 @@ module ActionController headers["Location"] = url end - # basic url_for that can be overridden for more robust functionality + # Basic url_for that can be overridden for more robust functionality def url_for(string) string end @@ -182,7 +182,7 @@ module ActionController body = [body] unless body.nil? || body.respond_to?(:each) super end - + # Tests if render or redirect has already happened. def performed? response_body || (response && response.committed?) @@ -237,7 +237,7 @@ module ActionController end end - def _status_code + def _status_code #:nodoc: @_status end end |