Skip to content

Commit

Permalink
Merge pull request #6 from Teamtailor/middleware-has-to-be-before-0
Browse files Browse the repository at this point in the history
The position should be before 0 not after.
  • Loading branch information
bjonord authored Sep 2, 2024
2 parents 8213ac5 + 13f8d53 commit 56445b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request_queue_time/railtie.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module RequestQueueTime
class Railtie < Rails::Railtie
initializer "RequestQueueTime.request_middleware" do |app|
app.middleware.insert_after 0, RequestQueueTime::Middleware
app.middleware.insert_before 0, RequestQueueTime::Middleware
end
end
end

0 comments on commit 56445b2

Please sign in to comment.