1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove duplicate method (_status_code) in action_dispatch

This commit is contained in:
Abdelkader Boudih 2014-10-19 17:28:24 +00:00
parent 61af5cc95d
commit aefec3c61a
2 changed files with 1 additions and 4 deletions

View file

@ -6,7 +6,7 @@ module ActionController
extend ActiveSupport::Concern
delegate :headers, :status=, :location=, :content_type=,
:status, :location, :content_type, :_status_code, :to => "@_response"
:status, :location, :content_type, :response_code, :to => "@_response"
def dispatch(action, request)
set_response!(request)

View file

@ -309,9 +309,6 @@ module ActionDispatch # :nodoc:
cookies
end
def _status_code #:nodoc:
@status
end
private
def before_committed