FIX 调整主页信息数据显示

This commit is contained in:
Jasder 2019-10-23 11:04:12 +08:00
parent 933c30bf21
commit 5015f98e53
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class Home < ActiveRecord::Base
SHOW_CONTENT_LENGTH = 245
SHOW_CONTENT_LENGTH = 400
REG_URL_FORMAT = /(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?/
has_one :cover, as: :coverable, dependent: :destroy