fix new ui archive and link frontend
This commit is contained in:
parent
3d758cabb3
commit
ced7a59555
|
@ -20,6 +20,8 @@ class ArchiveFile
|
||||||
field :title, localize: true
|
field :title, localize: true
|
||||||
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
|
||||||
|
|
||||||
|
|
|
@ -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