From 161eaaff8b28f0452e6edc383f2b317ceeee5b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 3 Apr 2024 22:31:12 +0200 Subject: [PATCH] Remove redundant condition rendering globalize locales The `manage_languages` variables is never defined when calling the site customization information texts globalize locales partial. --- .../information_texts/_globalize_locales.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/site_customization/information_texts/_globalize_locales.html.erb b/app/views/admin/site_customization/information_texts/_globalize_locales.html.erb index da4297ad1..a8afbbebc 100644 --- a/app/views/admin/site_customization/information_texts/_globalize_locales.html.erb +++ b/app/views/admin/site_customization/information_texts/_globalize_locales.html.erb @@ -1,4 +1,4 @@ <%= render "shared/common_globalize_locales", resource: nil, display_style: lambda { |locale| site_customization_display_translation_style(locale) }, - manage_languages: defined?(manage_languages) ? manage_languages : true %> + manage_languages: true %>