XHTML-safe version of form_spam_protection.

This commit is contained in:
Jacques Distler 2007-02-14 11:00:11 -06:00
parent d291318f3e
commit 0556f43180
2 changed files with 73 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Likewise will all the methods added be available for all controllers.
class ApplicationController < ActionController::Base
# require 'dnsbl_check'
# protect_forms_from_spam
protect_forms_from_spam
before_filter :dnsbl_check, :connect_to_model, :check_authorization, :setup_url_generator, :set_content_type_header, :set_robots_metatag
after_filter :remember_location, :teardown_url_generator