aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/refinery/blog/category.rb
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2013-08-11 22:37:49 -0700
committerPhilip Arndt <p@arndt.io>2013-08-11 22:37:49 -0700
commit0b27bed872bcfc95b0e1688151b0dc20789b2b54 (patch)
treeca37ed264094228cd3813b4012df931114977ea4 /app/models/refinery/blog/category.rb
parentfaa6922bf8d71ae5c481afcbc7b2e54ec18e6930 (diff)
parent433c541012bd44453d5e9fb826667916706f70fe (diff)
downloadrefinerycms-blog-0b27bed872bcfc95b0e1688151b0dc20789b2b54.tar.gz
refinerycms-blog-0b27bed872bcfc95b0e1688151b0dc20789b2b54.tar.bz2
refinerycms-blog-0b27bed872bcfc95b0e1688151b0dc20789b2b54.zip
Merge pull request #345 from refinery/use_refinerycms-acts-as-indexed_for_search
Use refinerycms-acts-as-indexed for search functionality.
Diffstat (limited to 'app/models/refinery/blog/category.rb')
-rw-r--r--app/models/refinery/blog/category.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/refinery/blog/category.rb b/app/models/refinery/blog/category.rb
index 36e6816..acab8bf 100644
--- a/app/models/refinery/blog/category.rb
+++ b/app/models/refinery/blog/category.rb
@@ -10,8 +10,6 @@ module Refinery
has_many :categorizations, :dependent => :destroy, :foreign_key => :blog_category_id
has_many :posts, :through => :categorizations, :source => :blog_post
- acts_as_indexed :fields => [:title]
-
validates :title, :presence => true, :uniqueness => true
attr_accessible :title