Fix 500 caused by deleted reshares
This commit is contained in:
parent
c63bcd5aea
commit
e33f4e68a8
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class Reshare < Post
|
||||||
end
|
end
|
||||||
|
|
||||||
def address
|
def address
|
||||||
absolute_root.location.try(:address)
|
absolute_root.try(:location).try(:address)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue