about summary refs log tree commit diff
path: root/app/controllers/concerns/theming_concern.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/theming_concern.rb')
-rw-r--r--app/controllers/concerns/theming_concern.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/theming_concern.rb b/app/controllers/concerns/theming_concern.rb
index 425554072..f993a81d7 100644
--- a/app/controllers/concerns/theming_concern.rb
+++ b/app/controllers/concerns/theming_concern.rb
@@ -20,7 +20,7 @@ module ThemingConcern
   end
 
   def valid_pack_data?(data, pack_name)
-    data['pack'].is_a?(Hash) && [String, Hash].any? { |c| data['pack'][pack_name].is_a?(c) }
+    data['pack'].is_a?(Hash) && data['pack'][pack_name].present?
   end
 
   def nil_pack(data)