From dd5ca15fa250efc13a6f189ea3361636114eb879 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 9 Apr 2023 21:49:12 -0700 Subject: [PATCH] Fix being unable to see profiles when unauth --- app/models/party.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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