aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2015-02-25 16:43:13 +1300
committerPhilip Arndt <git@p.arndt.io>2015-02-25 16:43:13 +1300
commit8fdd9f7cdbd9036882cce9096cd29a0d95f15c30 (patch)
tree55eaf11bf854b353f9980026ea7ce74a991a0ccc
parentec4f88a1348564182f4167c0e09f4f69ece0d679 (diff)
parent4a09fc845ab735aa1994f0942be44fdd0c75f18c (diff)
downloadrefinerycms-blog-8fdd9f7cdbd9036882cce9096cd29a0d95f15c30.tar.gz
refinerycms-blog-8fdd9f7cdbd9036882cce9096cd29a0d95f15c30.tar.bz2
refinerycms-blog-8fdd9f7cdbd9036882cce9096cd29a0d95f15c30.zip
Merge pull request #420 from refinery/require_filters_spam
Require filters_spam only in comment model
-rw-r--r--app/models/refinery/blog/comment.rb2
-rw-r--r--lib/refinery/blog.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/models/refinery/blog/comment.rb b/app/models/refinery/blog/comment.rb
index be94238..2050616 100644
--- a/app/models/refinery/blog/comment.rb
+++ b/app/models/refinery/blog/comment.rb
@@ -1,3 +1,5 @@
+require 'filters_spam'
+
module Refinery
module Blog
class Comment < ActiveRecord::Base
diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb
index 604d0b1..c601e4d 100644
--- a/lib/refinery/blog.rb
+++ b/lib/refinery/blog.rb
@@ -1,7 +1,6 @@
require 'refinerycms-core'
require 'refinerycms-settings'
require 'refinerycms-wymeditor'
-require 'filters_spam'
require 'rails_autolink'
require 'friendly_id'
require 'jquery-ui-rails'