mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Enumerable gives us include?, so remove include?
This commit is contained in:
parent
648fd60ecf
commit
fd26afc93b
1 changed files with 0 additions and 4 deletions
|
@ -66,10 +66,6 @@ module ActionDispatch
|
||||||
middlewares[i]
|
middlewares[i]
|
||||||
end
|
end
|
||||||
|
|
||||||
def include?(item)
|
|
||||||
middlewares.include? item
|
|
||||||
end
|
|
||||||
|
|
||||||
def initialize_copy(other)
|
def initialize_copy(other)
|
||||||
self.middlewares = other.middlewares.dup
|
self.middlewares = other.middlewares.dup
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue