about summary refs log tree commit diff
path: root/app/models/favourite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/favourite.rb')
-rw-r--r--app/models/favourite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/favourite.rb b/app/models/favourite.rb
index c38838f2a..2b1271f31 100644
--- a/app/models/favourite.rb
+++ b/app/models/favourite.rb
@@ -13,8 +13,8 @@
 class Favourite < ApplicationRecord
   include Paginable
 
-  belongs_to :account, inverse_of: :favourites, required: true
-  belongs_to :status,  inverse_of: :favourites, counter_cache: true, required: true
+  belongs_to :account, inverse_of: :favourites
+  belongs_to :status,  inverse_of: :favourites, counter_cache: true
 
   has_one :notification, as: :activity, dependent: :destroy