From 295621e43674e2b70599b1d66c2203f2ed88386c Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sun, 19 Oct 2014 22:06:53 +0530 Subject: Make _status_code methods nodoc - Also one minor change for documenting url_for method in ActionController::Metal. [ci skip] --- actionpack/lib/action_controller/metal.rb | 6 +++--- actionpack/lib/action_dispatch/http/response.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3