From 1fe2f8946bfa40a1cba9bf8da73fa8e307a096f1 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Sun, 9 Oct 2016 12:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E8=AF=BE=E7=A8=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/syllabus.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/syllabus.rb b/app/models/syllabus.rb index b046ce2cd..6bd770d5d 100644 --- a/app/models/syllabus.rb +++ b/app/models/syllabus.rb @@ -2,6 +2,7 @@ class Syllabus < ActiveRecord::Base include Redmine::SafeAttributes include ApplicationHelper + include Elasticsearch::Model acts_as_taggable acts_as_attachable has_many_kindeditor_assets :assets, :dependent => :destroy