mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove useless deup
every call to default_resources_path_names allocates a new hash, no need to dup
This commit is contained in:
parent
20ec0d2aae
commit
3429b0ccba
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ module ActionDispatch
|
|||
|
||||
def initialize(request_class = ActionDispatch::Request)
|
||||
self.named_routes = NamedRouteCollection.new
|
||||
self.resources_path_names = self.class.default_resources_path_names.dup
|
||||
self.resources_path_names = self.class.default_resources_path_names
|
||||
self.default_url_options = {}
|
||||
self.request_class = request_class
|
||||
|
||||
|
|
Loading…
Reference in a new issue