XHTML-safe version of form_spam_protection.
This commit is contained in:
parent
d291318f3e
commit
0556f43180
2 changed files with 73 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue