instiki/vendor/plugins/form_spam_protection/init.rb
2007-02-13 09:55:26 -06:00

4 lines
No EOL
247 B
Ruby

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