summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-27 13:41:28 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-27 13:41:28 +0200
commit29213546a4468aa4a853dee8091bbd556f7d0f51 (patch)
tree061431ee9e05e11053b0f56d34490d460f3d9b40 /app/serializers
parent7ffb10465ecdbd96fc3c3ba9d8df92485f787e62 (diff)
Fixed show_avatar in the switchboard#show
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/switchboard_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/switchboard_serializer.rb b/app/serializers/switchboard_serializer.rb
index c1cc0fe..7ad7792 100644
--- a/app/serializers/switchboard_serializer.rb
+++ b/app/serializers/switchboard_serializer.rb
@@ -1,7 +1,7 @@
class SwitchboardSerializer < ActiveModel::Serializer
embed :ids, :include => true
- attributes :id, :name, :blind_transfer_activated, :attended_transfer_activated
+ attributes :id, :name, :show_avatars, :blind_transfer_activated, :attended_transfer_activated
has_many :switchboard_entries
has_many :sip_accounts, :through => :switchboard_entries
has_many :phone_numbers