diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-27 14:13:20 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-27 14:13:20 +0200 |
commit | a5916697ce2ab1f74833d19a36dbb0f71c7ed7f5 (patch) | |
tree | ed3d3e525b0709689d7fbba0ee6a83af7dfe29b3 /app/controllers/sip_accounts_controller.rb | |
parent | af5397e415501d0ce3a052538a4e3ed74bf189cd (diff) |
run possible_voicemail_accounts on error
Diffstat (limited to 'app/controllers/sip_accounts_controller.rb')
-rw-r--r-- | app/controllers/sip_accounts_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/sip_accounts_controller.rb b/app/controllers/sip_accounts_controller.rb index cd34953..3dc5a54 100644 --- a/app/controllers/sip_accounts_controller.rb +++ b/app/controllers/sip_accounts_controller.rb @@ -85,6 +85,7 @@ class SipAccountsController < ApplicationController m = method( :"#{@parent.class.name.underscore}_sip_account_path" ) redirect_to m.( @parent, @sip_account ), :notice => t('sip_accounts.controller.successfuly_updated') else + possible_voicemail_accounts render :edit end end |