Commit 3d7721da authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix the way we include Gitlab::CurrentSettings

parent 30209fc4
...@@ -4,7 +4,7 @@ module Elastic ...@@ -4,7 +4,7 @@ module Elastic
included do included do
include Elasticsearch::Model include Elasticsearch::Model
extend Gitlab::CurrentSettings include Gitlab::CurrentSettings
index_name [Rails.application.class.parent_name.downcase, Rails.env].join('-') index_name [Rails.application.class.parent_name.downcase, Rails.env].join('-')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment