diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/support/models/comment.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/support/models/comment.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/support/models/comment.rb b/vendor/plugins/thinking-sphinx/features/support/models/comment.rb deleted file mode 100644 index a93451c..0000000 --- a/vendor/plugins/thinking-sphinx/features/support/models/comment.rb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | class Comment < ActiveRecord::Base | ||
| 2 | belongs_to :post | ||
| 3 | belongs_to :category | ||
| 4 | |||
| 5 | define_index do | ||
| 6 | indexes :content | ||
| 7 | |||
| 8 | has category.name, :facet => true, :as => :category_name, :type => :string | ||
| 9 | end | ||
| 10 | end | ||
