1
0
Fork 0
forked from gitea/nas

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

This commit is contained in:
KMY 2024-02-02 09:05:53 +09:00
parent 0cdc6faa46
commit 088c8482ff
4 changed files with 153 additions and 8 deletions

View file

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