diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-02-23 00:09:09 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-02-23 00:09:09 -0800 |
commit | 2537923034163a3a99810bde11cdee95339d60b5 (patch) | |
tree | bd2d373ea54a132a67c7f64577fcbbd9bc6dfa19 /app | |
parent | c9ff548329cf1bbc2e82653a81a56ef57c9676c5 (diff) | |
download | refinerycms-blog-2537923034163a3a99810bde11cdee95339d60b5.tar.gz refinerycms-blog-2537923034163a3a99810bde11cdee95339d60b5.tar.bz2 refinerycms-blog-2537923034163a3a99810bde11cdee95339d60b5.zip |
Remove functionality provided by rails.
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 |