mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 09:45:57 +08:00
精简model/controllers/views
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class AttachmentGroupSetting < ActiveRecord::Base
|
||||
belongs_to :attachment
|
||||
belongs_to :course_group
|
||||
belongs_to :course
|
||||
# belongs_to :course_group
|
||||
# belongs_to :course
|
||||
|
||||
scope :none_published, -> {where("attachment_group_settings.publish_time IS NULL OR attachment_group_settings.publish_time > ?", Time.now)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user