Remove an unnecessary if

This commit is contained in:
rubic0n 2021-02-18 00:54:51 -06:00
parent 9b17b0a553
commit 44fd00bdc0

View File

@ -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?