diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 10:53:20 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 10:53:20 +0100 |
commit | 2e3bddd415f03aa15cd2759d7c18f64d5545ea80 (patch) | |
tree | a684e7bc666b81eeef8f93b924b10f1a65de7ee0 /app/controllers/phones_controller.rb | |
parent | d8287a7dbcc287791ed069cfc14ca6b9db0e66a7 (diff) |
Accept truncated MAC addresses. #80
Diffstat (limited to 'app/controllers/phones_controller.rb')
-rw-r--r-- | app/controllers/phones_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/phones_controller.rb b/app/controllers/phones_controller.rb index 14735e6..3672390 100644 --- a/app/controllers/phones_controller.rb +++ b/app/controllers/phones_controller.rb @@ -46,6 +46,7 @@ class PhonesController < ApplicationController m = method( :"#{@phoneable.class.name.underscore}_phone_path" ) redirect_to m.( @phoneable, @phone ), :notice => t('phones.controller.successfuly_updated') else + set_fallback_sip_accounts render :edit end end |