diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-06-27 13:02:28 +0200 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-06-27 13:02:28 +0200 |
commit | 7ffb10465ecdbd96fc3c3ba9d8df92485f787e62 (patch) | |
tree | f8a93ec49ef5baf7002b10b8c7deff5fd555f69e /app/controllers/switchboards_controller.rb | |
parent | ace935fd2793b09925ab4b8a6b352585b5bdf3d2 (diff) |
blind and attended transfer can be configured for each switchboard.
Diffstat (limited to 'app/controllers/switchboards_controller.rb')
-rw-r--r-- | app/controllers/switchboards_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/switchboards_controller.rb b/app/controllers/switchboards_controller.rb index 3e2f8d6..d162a85 100644 --- a/app/controllers/switchboards_controller.rb +++ b/app/controllers/switchboards_controller.rb @@ -19,6 +19,8 @@ class SwitchboardsController < ApplicationController @switchboard.entry_width = 2 @switchboard.reload_interval = 2000 @switchboard.amount_of_displayed_phone_numbers = 1 + @switchboard.blind_transfer_activated = true + @switchboard.attended_transfer_activated = false spread_breadcrumbs end @@ -56,7 +58,7 @@ class SwitchboardsController < ApplicationController private def switchboard_params - params.require(:switchboard).permit(:name, :reload_interval, :show_avatars, :entry_width, :amount_of_displayed_phone_numbers) + params.require(:switchboard).permit(:name, :reload_interval, :show_avatars, :entry_width, :amount_of_displayed_phone_numbers, :blind_transfer_activated, :attended_transfer_activated) end def spread_breadcrumbs |