diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/refinery/blog/post.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index a4507ed..81d2f54 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -52,12 +52,6 @@ module Refinery !draft and published_at <= Time.now end - def category_ids=(ids) - self.categories = ids.reject{|id| id.blank?}.collect {|c_id| - Refinery::Blog::Category.find(c_id.to_i) rescue nil - }.compact - end - def friendly_id_source custom_url.present? ? custom_url : title end |