instiki/vendor/plugins/form_spam_protection/init.rb

4 lines
247 B
Ruby
Raw Normal View History

require 'form_spam_protection'
require File.join(File.dirname(__FILE__), 'vendor/enkoder/lib/enkoder')
require File.join(File.dirname(__FILE__), "/test/mocks/enkoder") if RAILS_ENV == 'test'
ActionController::Base.send :include, FormSpamProtection