fix new ui archive and link frontend
This commit is contained in:
parent
54f778f17d
commit
7d1141ee60
|
@ -20,6 +20,8 @@ class ArchiveFile
|
|||
field :title, localize: true
|
||||
field :create_user_id
|
||||
field :update_user_id, :class_name => "User"
|
||||
|
||||
scope :can_display,where(is_hidden: false)
|
||||
|
||||
# belongs_to :archive_file_category
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ class WebLink
|
|||
field :create_user_id
|
||||
field :update_user_id, :class_name => "User"
|
||||
|
||||
scope :can_display,where(is_hidden: false)
|
||||
|
||||
# belongs_to :web_link_category
|
||||
|
||||
before_save :clean_tags
|
||||
|
|
Loading…
Reference in New Issue