summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-05-09 11:04:21 +0200
committerspag <spag@golwen.net>2013-05-09 11:04:21 +0200
commitb41fb3bc6ddf9a4bf66bfd3a80dc19dedb72c8ea (patch)
tree7ca0347e08aac59b9b03a28b314e8cfadd87680a /app
parent02f217c4a93de7f042f38584b5aa6b2a2bae869e (diff)
FaxAccount added
Diffstat (limited to 'app')
-rw-r--r--app/controllers/call_routes_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/call_routes_controller.rb b/app/controllers/call_routes_controller.rb
index e5cf56a..528081a 100644
--- a/app/controllers/call_routes_controller.rb
+++ b/app/controllers/call_routes_controller.rb
@@ -92,6 +92,8 @@ class CallRoutesController < ApplicationController
account = SipAccount.where(:id => params[:sip_account_id]).first
elsif !params[:hunt_group_id].blank?
account = HuntGroup.where(:id => params[:hunt_group_id]).first
+ elsif !params[:fax_account_id].blank?
+ account = FaxAccount.where(:id => params[:fax_account_id]).first
end
if account