diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-20 01:00:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-20 01:00:14 +0100 |
commit | f0de621e76b5a5ba3f7e67bd88c0183aac22b985 (patch) | |
tree | 06ecec4ca807eadc7ec743d64074fb9030e172f7 /app/models/status.rb | |
parent | 8d0284f8d9bc22a6dd3bad1054fd8d78cbf32060 (diff) |
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
Diffstat (limited to 'app/models/status.rb')
-rw-r--r-- | app/models/status.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 5710f9cca..d5f52b55c 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -23,6 +23,7 @@ class Status < ApplicationRecord has_and_belongs_to_many :tags has_one :notification, as: :activity, dependent: :destroy + has_one :preview_card, dependent: :destroy validates :account, presence: true validates :uri, uniqueness: true, unless: 'local?' |