diff options
author | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-01-08 21:54:04 +0100 |
---|---|---|
committer | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-01-08 21:54:04 +0100 |
commit | 35a981aa271196adc5a265f52a5ed8b902cfa2c7 (patch) | |
tree | 9dcd831f31cac8d4aee4d7e854461e8a80a52763 | |
parent | 8a5dd852e202ce2c190a1f2ad79a8a452f4fcf53 (diff) |
have Snom meetingPoint names the same as other Snom phones to have correct sort order
-rw-r--r-- | app/controllers/config_snom_controller.rb | 2 | ||||
-rw-r--r-- | db/migrate/20121230110747_snom_meetingpoint.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/config_snom_controller.rb b/app/controllers/config_snom_controller.rb index 7ee8276..cb664db 100644 --- a/app/controllers/config_snom_controller.rb +++ b/app/controllers/config_snom_controller.rb @@ -80,7 +80,7 @@ class ConfigSnomController < ApplicationController '00041345' => 'Snom 821', '00041348' => 'Snom 821', '00041341' => 'Snom 870', - '00041332' => 'snom MeetingPoint', + '00041332' => 'Snom meetingPoint', } @phone.phone_model = PhoneModel.where(:name => mac_address_to_model[@mac_address[0, 8]]).first diff --git a/db/migrate/20121230110747_snom_meetingpoint.rb b/db/migrate/20121230110747_snom_meetingpoint.rb index 04ad450..0042979 100644 --- a/db/migrate/20121230110747_snom_meetingpoint.rb +++ b/db/migrate/20121230110747_snom_meetingpoint.rb @@ -2,7 +2,7 @@ class SnomMeetingpoint < ActiveRecord::Migration def up if Manufacturer.where(:ieee_name => 'SNOM Technology AG').any? snom = Manufacturer.where(:ieee_name => 'SNOM Technology AG').first - snom.phone_models.create(:name => 'snom MeetingPoint', + snom.phone_models.create(:name => 'Snom meetingPoint', :product_homepage_url => 'http://www.snom.com/en/products/sip-conference-phone/snom-meetingpoint/', :product_manual_homepage_url => 'http://wiki.snom.com/Snom_MeetingPoint/Documentation') end |