about summary refs log tree commit diff
path: root/app/controllers/concerns
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r--app/controllers/concerns/theming_concern.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/concerns/theming_concern.rb b/app/controllers/concerns/theming_concern.rb
index 6622bcff6..1ee3256c0 100644
--- a/app/controllers/concerns/theming_concern.rb
+++ b/app/controllers/concerns/theming_concern.rb
@@ -46,8 +46,8 @@ module ThemingConcern
 
     if skin != 'default' && data['skin'][skin]
       pack_data[:skin] = skin if data['skin'][skin].include?(pack_name)
-    else # default skin
-      pack_data[:skin] = 'default' if data['pack'][pack_name]['stylesheet']
+    elsif data['pack'][pack_name]['stylesheet']
+      pack_data[:skin] = 'default'
     end
 
     pack_data