fix new ui archive and link frontend
This commit is contained in:
parent
3d758cabb3
commit
ced7a59555
|
@ -21,6 +21,8 @@ class ArchiveFile
|
|||
field :create_user_id
|
||||
field :update_user_id, :class_name => "User"
|
||||
|
||||
scope :can_display,where(is_hidden: false)
|
||||
|
||||
# belongs_to :archive_file_category
|
||||
|
||||
has_many :archive_file_multiples, :autosave => true, :dependent => :destroy
|
||||
|
|
|
@ -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