From b41fb3bc6ddf9a4bf66bfd3a80dc19dedb72c8ea Mon Sep 17 00:00:00 2001 From: spag Date: Thu, 9 May 2013 11:04:21 +0200 Subject: FaxAccount added --- app/controllers/call_routes_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/call_routes_controller.rb') 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 -- cgit v1.2.3 From 8e239c856f6100d89611fca00a507499a342858e Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 23 May 2013 11:48:37 +0200 Subject: Route XML interpreter added --- app/controllers/call_routes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/call_routes_controller.rb') diff --git a/app/controllers/call_routes_controller.rb b/app/controllers/call_routes_controller.rb index 528081a..dc0d175 100644 --- a/app/controllers/call_routes_controller.rb +++ b/app/controllers/call_routes_controller.rb @@ -113,7 +113,7 @@ class CallRoutesController < ApplicationController private def call_route_parameter_params - params.require(:call_route).permit(:routing_table, :name, :endpoint_type, :endpoint_id, :position) + params.require(:call_route).permit(:routing_table, :name, :endpoint_type, :endpoint_id, :position, :xml) end def spread_breadcrumbs -- cgit v1.2.3