diff options
author | rubo77 <github@r.z11.de> | 2017-01-23 23:14:14 +0100 |
---|---|---|
committer | rubo77 <github@r.z11.de> | 2017-01-23 23:14:14 +0100 |
commit | df408aa7af5bc13f5d920035039cf350e6a20855 (patch) | |
tree | e17f78ec2758042e1db8f6e26631a9b87c1691cd | |
parent | c412c2f4c4166155a4e97af537faaf21194b8f6e (diff) |
repair ruby errors in firmware.rb
-rw-r--r-- | _plugins/firmwares.rb | 5 |
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)' |