lib/rack/app/singleton_methods/middleware.rb in rack-app-6.8.0 vs lib/rack/app/singleton_methods/middleware.rb in rack-app-7.0.0
- old
+ new
@@ -21,14 +21,6 @@
@next_endpoint_middlewares ||= []
@next_endpoint_middlewares << block unless block.nil?
@next_endpoint_middlewares
end
- alias only_next_endpoint_middlewares next_endpoint_middlewares
-
- Rack::App::Utils.deprecate(self,
- :only_next_endpoint_middlewares,
- :next_endpoint_middlewares,
- 2016,9
- )
-
end