Fix being unable to see profiles when unauth

This commit is contained in:
Justin Edmund 2023-04-09 21:49:12 -07:00
parent 0ea897b8bb
commit dd5ca15fa2

View file

@ -84,7 +84,7 @@ class Party < ApplicationRecord
attr_accessor :favorited
def is_favorited(user)
user.favorite_parties.include? self
user.favorite_parties.include? self if user
end
def is_remix