aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrice Sanchez <brice@bisscomm.com>2015-02-24 22:40:08 -0500
committerBrice Sanchez <brice@bisscomm.com>2015-02-24 22:40:08 -0500
commit4a09fc845ab735aa1994f0942be44fdd0c75f18c (patch)
tree55eaf11bf854b353f9980026ea7ce74a991a0ccc
parentec4f88a1348564182f4167c0e09f4f69ece0d679 (diff)
downloadrefinerycms-blog-4a09fc845ab735aa1994f0942be44fdd0c75f18c.tar.gz
refinerycms-blog-4a09fc845ab735aa1994f0942be44fdd0c75f18c.tar.bz2
refinerycms-blog-4a09fc845ab735aa1994f0942be44fdd0c75f18c.zip
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'