summaryrefslogtreecommitdiff
path: root/config/initializers/sherlock.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/sherlock.rb')
-rw-r--r--config/initializers/sherlock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/sherlock.rb b/config/initializers/sherlock.rb
index 42b0d78c85f..8f2ababb712 100644
--- a/config/initializers/sherlock.rb
+++ b/config/initializers/sherlock.rb
@@ -1,5 +1,5 @@
if Gitlab::Sherlock.enabled?
- Gitlab::Application.configure do |config|
+ Rails.application.configure do |config|
config.middleware.use(Gitlab::Sherlock::Middleware)
end
end