diff --git a/app/models/party.rb b/app/models/party.rb index 2dde088..8345471 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -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