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