mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:48:04 +08:00
FIX: Topic.similar_to error when Search is not loaded
This commit is contained in:
parent
a018eed611
commit
8395569b05
|
@ -7,6 +7,7 @@ require_dependency 'text_cleaner'
|
||||||
require_dependency 'archetype'
|
require_dependency 'archetype'
|
||||||
require_dependency 'html_prettify'
|
require_dependency 'html_prettify'
|
||||||
require_dependency 'discourse_tagging'
|
require_dependency 'discourse_tagging'
|
||||||
|
require_dependency 'search'
|
||||||
|
|
||||||
class Topic < ActiveRecord::Base
|
class Topic < ActiveRecord::Base
|
||||||
include ActionView::Helpers::SanitizeHelper
|
include ActionView::Helpers::SanitizeHelper
|
||||||
|
|
Loading…
Reference in New Issue
Block a user