aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2014-10-19 22:06:53 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2014-10-19 22:12:59 +0530
commit295621e43674e2b70599b1d66c2203f2ed88386c (patch)
tree435169d4d54385622f48bcf91a45a2b45086ee69 /actionpack/lib
parentc33b5e841b54357c1589942dc70192ab0b51fc1e (diff)
downloadrails-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')
-rw-r--r--actionpack/lib/action_controller/metal.rb6
-rw-r--r--actionpack/lib/action_dispatch/http/response.rb2
2 files changed, 4 insertions, 4 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
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb
index c5e18048da..d0580058c3 100644
--- a/actionpack/lib/action_dispatch/http/response.rb
+++ b/actionpack/lib/action_dispatch/http/response.rb
@@ -309,7 +309,7 @@ module ActionDispatch # :nodoc:
cookies
end
- def _status_code
+ def _status_code #:nodoc:
@status
end
private