diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-06-25 13:09:07 +0200 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-06-25 13:09:07 +0200 |
commit | 14da4be11fe13d4fcd55143c39b73c0d086b901b (patch) | |
tree | 2f6d2b9385b69852c9ea1c9e537aeefd0705ed24 /app/serializers/switchboard_serializer.rb | |
parent | 17f94f46374d60e58a00071303c9081469e7997c (diff) |
Show transfer buttons only for switchable incoming calls.
Diffstat (limited to 'app/serializers/switchboard_serializer.rb')
-rw-r--r-- | app/serializers/switchboard_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/switchboard_serializer.rb b/app/serializers/switchboard_serializer.rb index 6d39667..7c21f82 100644 --- a/app/serializers/switchboard_serializer.rb +++ b/app/serializers/switchboard_serializer.rb @@ -6,4 +6,5 @@ class SwitchboardSerializer < ActiveModel::Serializer has_many :sip_accounts, :through => :switchboard_entries has_many :phone_numbers has_many :active_calls + has_many :dispatchable_incoming_calls end |