diff --git a/app/components/developers/query_component.html.erb b/app/components/developers/query_component.html.erb
index 7b2369920..b0f8cd862 100644
--- a/app/components/developers/query_component.html.erb
+++ b/app/components/developers/query_component.html.erb
@@ -11,7 +11,7 @@
<% end %>
- <% if Feature.enabled?(:developer_specialties) %>
+ <% if Feature.enabled?(:developer_specialty_querying) %>
<%= render Users::PaywalledComponent.new(user, nil, size: :small, title: t(".paywalled_search.title")) do |component| %>
diff --git a/app/components/developers/query_mobile_component.html.erb b/app/components/developers/query_mobile_component.html.erb
index d6d5a99df..a52f7eddd 100644
--- a/app/components/developers/query_mobile_component.html.erb
+++ b/app/components/developers/query_mobile_component.html.erb
@@ -18,7 +18,7 @@
<% end %>
- <% if Feature.enabled?(:developer_specialties) %>
+ <% if Feature.enabled?(:developer_specialty_querying) %>
<%= render Users::PaywalledComponent.new(user, nil, size: :small, title: t("developers.query_component.paywalled_search.title")) do |component| %>
diff --git a/app/components/developers/specialties_component.rb b/app/components/developers/specialties_component.rb
index 3cf0a0eb7..bde78dfac 100644
--- a/app/components/developers/specialties_component.rb
+++ b/app/components/developers/specialties_component.rb
@@ -7,7 +7,7 @@ def initialize(specialties)
end
def render?
- Feature.enabled?(:developer_specialties)
+ Feature.enabled?(:developer_specialty_querying)
end
end
end
diff --git a/app/models/feature.rb b/app/models/feature.rb
index cfcfe4906..2b607fe82 100644
--- a/app/models/feature.rb
+++ b/app/models/feature.rb
@@ -10,6 +10,8 @@ def self.enabled?(feature_name)
when :business_welcome_email
true
when :developer_specialties
+ true
+ when :developer_specialty_querying
!Rails.env.production?
else
raise "Unknown feature name: #{feature_name}"