summaryrefslogtreecommitdiff
path: root/app/controllers/phones_controller.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-12 10:53:20 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-12 10:53:20 +0100
commit2e3bddd415f03aa15cd2759d7c18f64d5545ea80 (patch)
treea684e7bc666b81eeef8f93b924b10f1a65de7ee0 /app/controllers/phones_controller.rb
parentd8287a7dbcc287791ed069cfc14ca6b9db0e66a7 (diff)
Accept truncated MAC addresses. #80
Diffstat (limited to 'app/controllers/phones_controller.rb')
-rw-r--r--app/controllers/phones_controller.rb1
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