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

Remove default argument value.

Wrongly added when fixing the request path wrangling.
This commit is contained in:
Kasper Timm Hansen 2016-11-27 18:06:01 +01:00
parent 747ddd34ab
commit 143fc87cbf

View file

@ -11,7 +11,7 @@ module ActionDispatch
attr_reader :response_parser attr_reader :response_parser
def initialize(mime_name, param_encoder, response_parser = nil) def initialize(mime_name, param_encoder, response_parser)
@mime = Mime[mime_name] @mime = Mime[mime_name]
unless @mime unless @mime