From 3412d9e35c4dcb6fc4376d8b307e96f444c530d5 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 23 Dec 2019 13:49:46 +0100 Subject: [PATCH] fix checking enable_in_context_translation --- app/views/application/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>