Compare commits
3 commits
main
...
fix-unauth
| Author | SHA1 | Date | |
|---|---|---|---|
| dd5ca15fa2 | |||
| 0ea897b8bb | |||
| 9b2f2d1c30 |
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue