1
0
Fork 0
forked from gitea/nas

Fix: リモートからの参照を無限に受け入れる問題

This commit is contained in:
KMY 2024-02-02 09:05:53 +09:00
parent 23faeafe42
commit 76cf23dfd6
4 changed files with 153 additions and 8 deletions

View file

@ -14,6 +14,8 @@
#
class StatusReference < ApplicationRecord
REFERENCES_LIMIT = 5
belongs_to :status
belongs_to :target_status, class_name: 'Status'