Commit 44fd00bd authored by rubic0n's avatar rubic0n

Remove an unnecessary `if`

parent 9b17b0a5
......@@ -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?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment