diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb
index 554df8b70..58b936944 100644
--- a/app/views/application/index.html.erb
+++ b/app/views/application/index.html.erb
@@ -12,7 +12,7 @@
- <% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation == 'true' %>
+ <% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation %>
-<% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation == 'true' %>
+<% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation %>
<% end %>