aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/refinery/blog/post.rb6
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