aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/search.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/search.rb b/app/models/search.rb
index e1c3a9b..9886f36 100644
--- a/app/models/search.rb
+++ b/app/models/search.rb
@@ -6,6 +6,8 @@ class Search < ApplicationRecord
belongs_to :user
+ has_rich_text :description
+
# Returns all the results that can be fetched with the current `body`. It's
# returned into a hash which groups the taggable types.
def results