about summary refs log tree commit diff
path: root/app/models/block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/block.rb')
-rw-r--r--app/models/block.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/block.rb b/app/models/block.rb
index 284abfe4c..441e6bca3 100644
--- a/app/models/block.rb
+++ b/app/models/block.rb
@@ -13,8 +13,8 @@
 class Block < ApplicationRecord
   include Paginable
 
-  belongs_to :account, required: true
-  belongs_to :target_account, class_name: 'Account', required: true
+  belongs_to :account
+  belongs_to :target_account, class_name: 'Account'
 
   validates :account_id, uniqueness: { scope: :target_account_id }