搜索课程.
This commit is contained in:
parent
f380c64653
commit
1fe2f8946b
|
@ -2,6 +2,7 @@
|
||||||
class Syllabus < ActiveRecord::Base
|
class Syllabus < ActiveRecord::Base
|
||||||
include Redmine::SafeAttributes
|
include Redmine::SafeAttributes
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
|
include Elasticsearch::Model
|
||||||
acts_as_taggable
|
acts_as_taggable
|
||||||
acts_as_attachable
|
acts_as_attachable
|
||||||
has_many_kindeditor_assets :assets, :dependent => :destroy
|
has_many_kindeditor_assets :assets, :dependent => :destroy
|
||||||
|
|
Loading…
Reference in New Issue