summaryrefslogtreecommitdiff
path: root/app/models/node.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-08 16:04:21 +0200
committerhukl <contact@smyck.org>2009-08-08 16:04:21 +0200
commitc21ac1c25cbdddcaade04f86ef944959f4815209 (patch)
tree581fa2d6017e0369df12f90287691abf1f1a74e9 /app/models/node.rb
parent07640b26e796f604535e37adad4533cfbdc2740b (diff)
additionally indexing slug and unique name
Diffstat (limited to 'app/models/node.rb')
-rw-r--r--app/models/node.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/node.rb b/app/models/node.rb
index 2a82ba8..b45ba80 100644
--- a/app/models/node.rb
+++ b/app/models/node.rb
@@ -20,6 +20,8 @@ class Node < ActiveRecord::Base
20 # Index for Fulltext Search 20 # Index for Fulltext Search
21 define_index do 21 define_index do
22 indexes head.globalize_translations.title 22 indexes head.globalize_translations.title
23 indexes slug
24 indexes unique_name
23 end 25 end
24 26
25 # Class methods 27 # Class methods