diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index d01d0cfe..b6ecd1f5 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -123,11 +123,7 @@ class REST::StatusSerializer < ActiveModel::Serializer end def pinnable_by_group - if object.group_id? - true - else - false - end + object.group_id? end def source_requested?