lib/sidekiq/throttled/web/summary_fix.rb in sidekiq-throttled-0.11.0 vs lib/sidekiq/throttled/web/summary_fix.rb in sidekiq-throttled-0.12.0

- old
+ new

@@ -9,10 +9,11 @@ class << self attr_accessor :enabled def apply!(app) - Sidekiq::WebAction.send(:prepend, SummaryFix) + Sidekiq::WebAction.prepend SummaryFix + app.get("/throttled/summary_fix") do [200, HEADERS.dup, JAVASCRIPT.dup] end end end