Skip to content

Commit

Permalink
Fix 500 caused by deleted reshares
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Schubert committed May 20, 2013
1 parent c63bcd5 commit e33f4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/reshare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def absolute_root
end

def address
absolute_root.location.try(:address)
absolute_root.try(:location).try(:address)
end

private
Expand Down

0 comments on commit e33f4e6

Please sign in to comment.