Fix 500 caused by deleted reshares

This commit is contained in:
Dennis Schubert 2013-05-20 21:05:34 +02:00
parent c63bcd5aea
commit e33f4e68a8

View file

@ -80,7 +80,7 @@ class Reshare < Post
end
def address
absolute_root.location.try(:address)
absolute_root.try(:location).try(:address)
end
private