FIX: Topic.similar_to error when Search is not loaded

This commit is contained in:
Neil Lalonde 2017-04-12 14:38:58 -04:00
parent a018eed611
commit 8395569b05

View File

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