mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #17321 from prathamesh-sonpatki/nodoc-status_at
Make status_at methods nodoc
This commit is contained in:
commit
61af5cc95d
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -309,7 +309,7 @@ module ActionDispatch # :nodoc:
|
|||
cookies
|
||||
end
|
||||
|
||||
def _status_code
|
||||
def _status_code #:nodoc:
|
||||
@status
|
||||
end
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue