aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2017-01-23 23:14:14 +0100
committerrubo77 <github@r.z11.de>2017-01-23 23:14:14 +0100
commitdf408aa7af5bc13f5d920035039cf350e6a20855 (patch)
treee17f78ec2758042e1db8f6e26631a9b87c1691cd
parentc412c2f4c4166155a4e97af537faaf21194b8f6e (diff)
repair ruby errors in firmware.rb
-rw-r--r--_plugins/firmwares.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/_plugins/firmwares.rb b/_plugins/firmwares.rb
index b30cbb7..d1728af 100644
--- a/_plugins/firmwares.rb
+++ b/_plugins/firmwares.rb
@@ -196,13 +196,14 @@ GROUPS = {
#els
if model == 'UniFi' then
'UniFi AP (LR)'
- elseif model == 'N600' then
+ elsif model == 'N600' then
'My Net N600'
- elseif model == 'N750' then
+ elsif model == 'N750' then
'My Net N750'
else
model
end
+ },
transform_group: lambda { |group|
if group == 'wd-my-net' then
'WD (Western Digital)'