diff options
Diffstat (limited to 'app/serializers/rest')
-rw-r--r-- | app/serializers/rest/domain_block_serializer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/serializers/rest/domain_block_serializer.rb b/app/serializers/rest/domain_block_serializer.rb index 678463e13..a9d443df1 100644 --- a/app/serializers/rest/domain_block_serializer.rb +++ b/app/serializers/rest/domain_block_serializer.rb @@ -4,14 +4,14 @@ class REST::DomainBlockSerializer < ActiveModel::Serializer attributes :domain, :digest, :severity, :comment def domain - object.public_domain + "" end def digest - object.domain_digest + "" end def comment - object.public_comment if instance_options[:with_comment] + "" end end |