Merge branch 'staging' of github.com:jedmund/hensei-api into staging
This commit is contained in:
commit
1f675228bf
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Party < ApplicationRecord
|
||||||
attr_accessor :favorited
|
attr_accessor :favorited
|
||||||
|
|
||||||
def is_favorited(user)
|
def is_favorited(user)
|
||||||
user.favorite_parties.include? self
|
user.favorite_parties.include? self if user
|
||||||
end
|
end
|
||||||
|
|
||||||
def is_remix
|
def is_remix
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue