fix new ui archive and link frontend

This commit is contained in:
Spen 2013-11-05 11:23:37 +08:00
parent 54f778f17d
commit 7d1141ee60
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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