Please CodeClimate
parent
a250aefe77
commit
5d38a8573c
|
@ -46,8 +46,8 @@ module ThemingConcern
|
||||||
|
|
||||||
if skin != 'default' && data['skin'][skin]
|
if skin != 'default' && data['skin'][skin]
|
||||||
pack_data[:skin] = skin if data['skin'][skin].include?(pack_name)
|
pack_data[:skin] = skin if data['skin'][skin].include?(pack_name)
|
||||||
else # default skin
|
elsif data['pack'][pack_name]['stylesheet']
|
||||||
pack_data[:skin] = 'default' if data['pack'][pack_name]['stylesheet']
|
pack_data[:skin] = 'default'
|
||||||
end
|
end
|
||||||
|
|
||||||
pack_data
|
pack_data
|
||||||
|
|
Loading…
Reference in New Issue